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



commit 1fd834c54d45ff2ecff6168d69adcd9f3928d6c7
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 a9c59d7..a6e3a53 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -2331,7 +2331,6 @@ gtk_combo_box_popup_for_device (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]