[gtk+/gtk-2-24] ComboBox: Don’t redundantly show() scrolled_window



commit 03ead0c8240d6665aee13f8d0f1ae9054e9a1bc3
Author: Daniel Boles <dboles src gnome org>
Date:   Mon Aug 28 19:28:20 2017 +0100

    ComboBox: Don’t redundantly show() scrolled_window
    
    It and its child were already show()n in list_setup().

 gtk/gtkcombobox.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index a28a712..58a9682 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -2090,7 +2090,6 @@ gtk_combo_box_real_popup (GtkComboBox *combo_box)
                                     GTK_WINDOW (toplevel));
     }
 
-  gtk_widget_show_all (priv->scrolled_window);
   gtk_combo_box_list_position (combo_box, &x, &y, &width, &height);
   
   gtk_widget_set_size_request (priv->popup_window, width, height);  


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]