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:
Timm Bäder 2017-10-03 10:55:19 +02:00
parent a4fda99539
commit f9744cf194

View File

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