[gtk/gtk-3-24: 1/2] Check for NULL priv->popup_window in gtk_combo_box_popdown()
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24: 1/2] Check for NULL priv->popup_window in gtk_combo_box_popdown()
- Date: Tue, 28 Aug 2018 19:27:42 +0000 (UTC)
commit aa5d926c843aca2af576c38cf25ebdb4d3da2c26
Author: Luca Bacci <luca bacci982 gmail com>
Date: Tue Aug 28 18:39:05 2018 +0200
Check for NULL priv->popup_window in gtk_combo_box_popdown()
Fixes issue #125
gtk/gtkcombobox.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index cf01278db5..e6589b4c90 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]