[gtk+] combobox: Remove unneeded queue_resize call
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] combobox: Remove unneeded queue_resize call
- Date: Thu, 5 Oct 2017 08:18:17 +0000 (UTC)
commit f9744cf194b8ce811dbaca0895e2ef6c10f99b9f
Author: Timm Bäder <mail baedert org>
Date: Tue Oct 3 10:55:19 2017 +0200
combobox: Remove unneeded queue_resize call
The remove/add/set_parent/unparent calls in there already do the
necessary work.
gtk/gtkcombobox.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 2245aac..4bb6b51 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -1228,7 +1228,6 @@ gtk_combo_box_add (GtkContainer *container,
gtk_container_remove (GTK_CONTAINER (gtk_widget_get_parent (priv->cell_view)),
priv->cell_view);
_gtk_bin_set_child (GTK_BIN (container), NULL);
- gtk_widget_queue_resize (GTK_WIDGET (container));
priv->cell_view = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]