summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eel/eel-wrap-table.c4
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;