Check for NULL priv->popup_window in gtk_combo_box_popdown()
Fixes issue #125
This commit is contained in:
parent
7f930b5ded
commit
aa5d926c84
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user