Commit dcffb53f authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Don't crash if unrealized.

2004-07-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_popdown): Don't
	crash if unrealized.
parent d533bb91
2004-07-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_popdown): Don't
crash if unrealized.
Tue Jul 13 01:50:06 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaboutdialog.c (display_credits_dialog): Don't
......
2004-07-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_popdown): Don't
crash if unrealized.
Tue Jul 13 01:50:06 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaboutdialog.c (display_credits_dialog): Don't
......
2004-07-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_popdown): Don't
crash if unrealized.
Tue Jul 13 01:50:06 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaboutdialog.c (display_credits_dialog): Don't
......
2004-07-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_popdown): Don't
crash if unrealized.
Tue Jul 13 01:50:06 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaboutdialog.c (display_credits_dialog): Don't
......
......@@ -1409,6 +1409,9 @@ gtk_combo_box_popdown (GtkComboBox *combo_box)
{
g_return_if_fail (GTK_IS_COMBO_BOX (combo_box));
if (!GTK_WIDGET_REALIZED (widget))
return;
if (GTK_IS_MENU (combo_box->priv->popup_widget))
{
gtk_menu_popdown (GTK_MENU (combo_box->priv->popup_widget));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment