From ae487840f005f2cdc80f8bd5b8e5fe60e5a37a27 Mon Sep 17 00:00:00 2001 From: Matt Watson Date: Thu, 10 Dec 2015 15:50:25 -0800 Subject: gtkstack: remove needless queue_resize In gtk_stack_set_transition_position we should only need to queue_resize if we are non-homogeneous, which is already done earlier in the function. --- gtk/gtkstack.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gtk/gtkstack.c') diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c index 09ee656091..c832179b49 100644 --- a/gtk/gtkstack.c +++ b/gtk/gtkstack.c @@ -906,8 +906,6 @@ gtk_stack_set_transition_position (GtkStack *stack, gtk_widget_set_child_visible (priv->last_visible_child->widget, FALSE); priv->last_visible_child = NULL; } - - gtk_widget_queue_resize (GTK_WIDGET (stack)); } return done; -- cgit v1.2.1