From 0eddfcedb91429722914cdaa865a1dd687d93c69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sun, 24 May 2015 21:20:48 +0200 Subject: [PATCH] GtkStack: Remove some useless function calls We will call gtk_widget_queue_resize anyway later when finishing the (maybe non-running) transition, which will also cause the stack to be repainted. --- gtk/gtkstack.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c index f36026d39e..02525c692d 100644 --- a/gtk/gtkstack.c +++ b/gtk/gtkstack.c @@ -1110,9 +1110,6 @@ set_visible_child (GtkStack *stack, transition_type = get_simple_transition_type (i_first, transition_type); } - gtk_widget_queue_resize (GTK_WIDGET (stack)); - gtk_widget_queue_draw (GTK_WIDGET (stack)); - g_object_notify_by_pspec (G_OBJECT (stack), stack_props[PROP_VISIBLE_CHILD]); g_object_notify_by_pspec (G_OBJECT (stack), stack_props[PROP_VISIBLE_CHILD_NAME]);