mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 14:30:15 +00:00
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.
This commit is contained in:
parent
24193a38f0
commit
0eddfcedb9
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user