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.
This commit is contained in:
Matt Watson 2015-12-10 15:50:25 -08:00 committed by Jasper St. Pierre
parent 67125ae4e0
commit ae487840f0

View File

@ -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;