summaryrefslogtreecommitdiff
path: root/gtk/gtkstack.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2015-05-24 21:20:48 +0200
committerTimm Bäder <mail@baedert.org>2015-05-29 17:37:04 +0200
commit0eddfcedb91429722914cdaa865a1dd687d93c69 (patch)
tree83a8d9027d0e9627afcf341061ced8583b84b7d3 /gtk/gtkstack.c
parent24193a38f05b3145eeac84fa056cdf98a14afb42 (diff)
downloadgtk+-0eddfcedb91429722914cdaa865a1dd687d93c69.tar.gz
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.
Diffstat (limited to 'gtk/gtkstack.c')
-rw-r--r--gtk/gtkstack.c3
1 files changed, 0 insertions, 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]);