Mercurial > pidgin.yaz
diff finch/gntblist.c @ 17987:1b6db70bdab2
Fix a crash exposed by nullprpl.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 01 Jun 2007 23:39:11 +0000 |
parents | 464840043c66 |
children | 55a90b3fb1a1 |
line wrap: on
line diff
--- a/finch/gntblist.c Fri Jun 01 03:35:45 2007 +0000 +++ b/finch/gntblist.c Fri Jun 01 23:39:11 2007 +0000 @@ -215,6 +215,9 @@ if (list->ui_data == NULL) return; /* XXX: this is probably the place to auto-join chats */ + if (ggblist->window == NULL) + return; + if (node->ui_data != NULL) { gnt_tree_change_text(GNT_TREE(ggblist->tree), node, 0, get_display_name(node));