From a7e1cd759da81eb50b28b2c114fd686d45053837 Mon Sep 17 00:00:00 2001 From: monsta Date: Sun, 11 Mar 2018 22:06:35 +0300 Subject: eel-wrap-table: fix build with GTK+ < 3.20 adjustment for 6d55e135ecef324824286142746f0d531c6bc767 --- eel/eel-wrap-table.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.1