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);
|
gtk_widget_set_child_visible (priv->last_visible_child->widget, FALSE);
|
||||||
priv->last_visible_child = NULL;
|
priv->last_visible_child = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_widget_queue_resize (GTK_WIDGET (stack));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return done;
|
return done;
|
||||||
|
Loading…
Reference in New Issue
Block a user