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.
This commit is contained in:
Kristian Rietveld 2010-12-17 13:15:27 +01:00
parent d50c582961
commit 81515f7183

View File

@ -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)