From 981d7d510c9528d38df27661039614ee012e3202 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Wed, 21 Oct 1998 23:11:24 +0000 Subject: [PATCH] Minor fix --- gnome/gmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnome/gmain.c b/gnome/gmain.c index 5749e1aa8..1cdc51395 100644 --- a/gnome/gmain.c +++ b/gnome/gmain.c @@ -139,7 +139,7 @@ dialog_key_pressed (GtkWidget *win, GdkEventKey *event, Dlg_head *h) if (w && GNOME_IS_ICON_LIST (w)){ GnomeCanvas *c = GNOME_CANVAS (w); - if (GNOME_IS_ICON_TEXT_ITEM (c->focused_item)){ + if (c->focused_item && GNOME_IS_ICON_TEXT_ITEM (c->focused_item)){ GnomeIconTextItem *i = GNOME_ICON_TEXT_ITEM (c->focused_item); if (i->editing)