summaryrefslogtreecommitdiff
path: root/gtk/gtkstack.c
diff options
context:
space:
mode:
authorMatt Watson <mattdangerw@gmail.com>2015-12-10 15:50:25 -0800
committerJasper St. Pierre <jstpierre@mecheye.net>2015-12-10 16:51:29 -0800
commitae487840f005f2cdc80f8bd5b8e5fe60e5a37a27 (patch)
tree437364c5e2aff452b3a25d01192afa67a0852fb2 /gtk/gtkstack.c
parent67125ae4e0fc404eb33eaced49888828c8348453 (diff)
downloadgtk+-ae487840f005f2cdc80f8bd5b8e5fe60e5a37a27.tar.gz
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.
Diffstat (limited to 'gtk/gtkstack.c')
-rw-r--r--gtk/gtkstack.c2
1 files changed, 0 insertions, 2 deletions
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;