mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-15 05:00:09 +00:00
combobox: Remove unneeded queue_resize call
The remove/add/set_parent/unparent calls in there already do the necessary work.
This commit is contained in:
parent
a4fda99539
commit
f9744cf194
@ -1228,7 +1228,6 @@ gtk_combo_box_add (GtkContainer *container,
|
|||||||
gtk_container_remove (GTK_CONTAINER (gtk_widget_get_parent (priv->cell_view)),
|
gtk_container_remove (GTK_CONTAINER (gtk_widget_get_parent (priv->cell_view)),
|
||||||
priv->cell_view);
|
priv->cell_view);
|
||||||
_gtk_bin_set_child (GTK_BIN (container), NULL);
|
_gtk_bin_set_child (GTK_BIN (container), NULL);
|
||||||
gtk_widget_queue_resize (GTK_WIDGET (container));
|
|
||||||
priv->cell_view = NULL;
|
priv->cell_view = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user