Check for NULL priv->popup_window in gtk_combo_box_popdown()

Fixes issue #125
This commit is contained in:
Luca Bacci 2018-08-28 18:39:05 +02:00
parent 7f930b5ded
commit aa5d926c84

View File

@ -2429,6 +2429,9 @@ gtk_combo_box_popdown (GtkComboBox *combo_box)
if (!gtk_widget_get_realized (GTK_WIDGET (combo_box)))
return;
if (!priv->popup_window)
return;
if (!gtk_widget_is_drawable (priv->popup_window))
return;