diff options
author | monsta <[email protected]> | 2018-03-11 22:06:35 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2018-03-11 22:06:35 +0300 |
commit | a7e1cd759da81eb50b28b2c114fd686d45053837 (patch) | |
tree | 5bfa7a9e7211b1ac7499ec4cb3233678dc767da6 /eel | |
parent | 6d55e135ecef324824286142746f0d531c6bc767 (diff) | |
download | caja-a7e1cd759da81eb50b28b2c114fd686d45053837.tar.bz2 caja-a7e1cd759da81eb50b28b2c114fd686d45053837.tar.xz |
eel-wrap-table: fix build with GTK+ < 3.20
adjustment for 6d55e135ecef324824286142746f0d531c6bc767
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-wrap-table.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eel/eel-wrap-table.c b/eel/eel-wrap-table.c index c25bde4f..0641303e 100644 --- a/eel/eel-wrap-table.c +++ b/eel/eel-wrap-table.c @@ -255,7 +255,11 @@ eel_wrap_table_draw (GtkWidget *widget, /*Redraw the table once and only once to ensure it is displayed */ if (wrap_table->details->drawn == FALSE){ +#if GTK_CHECK_VERSION (3, 20, 0) gtk_widget_queue_allocate (GTK_WIDGET(widget)); +#else + gtk_widget_queue_resize (GTK_WIDGET(widget)); +#endif wrap_table->details->drawn = TRUE; } return FALSE; |