finch/gntblist.c

changeset 17862
32f49f3a139a
parent 17845
8ac5337e8f6d
child 17876
e22e8884af80
--- 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));

mercurial