Don't segfault if somebody tries to popup an unrealized combo box.

2005-03-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_popup): Don't
	segfault if somebody tries to popup an unrealized
	combo box.  (#172031, Felipe Heidrich)
This commit is contained in:
Matthias Clasen
2005-03-30 17:10:47 +00:00
committed by Matthias Clasen
parent 84f00317a8
commit b3cdfe0c19
4 changed files with 21 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
2005-03-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_popup): Don't
segfault if somebody tries to popup an unrealized
combo box. (#172031, Felipe Heidrich)
2005-03-30 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c (build_pointer_event_state): The

View File

@@ -1,3 +1,9 @@
2005-03-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_popup): Don't
segfault if somebody tries to popup an unrealized
combo box. (#172031, Felipe Heidrich)
2005-03-30 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c (build_pointer_event_state): The

View File

@@ -1,3 +1,9 @@
2005-03-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_popup): Don't
segfault if somebody tries to popup an unrealized
combo box. (#172031, Felipe Heidrich)
2005-03-30 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c (build_pointer_event_state): The

View File

@@ -1589,6 +1589,9 @@ gtk_combo_box_popup (GtkComboBox *combo_box)
g_return_if_fail (GTK_IS_COMBO_BOX (combo_box));
if (!GTK_WIDGET_REALIZED (combo_box))
return;
if (GTK_WIDGET_MAPPED (combo_box->priv->popup_widget))
return;