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



commit b51eea1881777dd164400b06eedb5e548fc5ccdb
Author: Daniel Boles <dboles src gnome org>
Date:   Tue Sep 5 00:12:43 2017 +0100

    Revert "ComboBox: Don’t redundantly show() scrolled_window"
    
    This reverts commit 03ead0c8240d6665aee13f8d0f1ae9054e9a1bc3.
    
    That was a real brainfart, which broke showing list-mode CBs on the 2nd
    and subsequent popups.

 gtk/gtkcombobox.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 02ca5e8..e3b1486 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -2090,6 +2090,7 @@ 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]