From 81515f71833c248b446a3a62e351f956943d4b2d Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Fri, 17 Dec 2010 13:15:27 +0100 Subject: [PATCH] Check if popup_window is mapped, not popup_widget Before hide_all was used on popup_window, which means popup_widget was also unmapped. This is now no longer the case. This fixes subsequent pop ups for appears-as-list == 1. --- gtk/gtkcombobox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index 15c8df31f6..5de9a0fbb9 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -2290,7 +2290,7 @@ gtk_combo_box_popup_for_device (GtkComboBox *combo_box, if (!gtk_widget_get_realized (GTK_WIDGET (combo_box))) return; - if (gtk_widget_get_mapped (priv->popup_widget)) + if (gtk_widget_get_mapped (priv->popup_window)) return; if (priv->grab_pointer && priv->grab_keyboard)