mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-03 17:21:11 +00:00
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:
parent
67125ae4e0
commit
ae487840f0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user