[gtk+/gtk-3-22] combobox: Remove unneeded queue_resize call



commit 18b8b2b8e8dd883dc938f50a646710d0a5ad5301
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 d001c5c..aad70b2 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -1677,7 +1677,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]