src/gtkblist.c

changeset 13196
b34319a69167
parent 13162
43420c10065b
child 13197
734f8ef469b8
--- a/src/gtkblist.c	Thu Feb 09 00:00:08 2006 +0000
+++ b/src/gtkblist.c	Thu Feb 09 00:10:12 2006 +0000
@@ -4022,7 +4022,7 @@
 		count = gaim_blist_get_group_size(group, FALSE);
 	else
 		count = gaim_blist_get_group_online_count(group);
-	
+
 	if (count > 0 || gaim_prefs_get_bool("/gaim/gtk/blist/show_empty_groups"))
 		show = TRUE;
 	else {
@@ -4033,7 +4033,7 @@
 				if (buddy_is_displayable((GaimBuddy*)n)) {
 					show = TRUE;
 					break;
-				}					
+				}
 			}
 			n = gaim_blist_node_next(n, FALSE);
 		}
@@ -4257,6 +4257,9 @@
 	if(!gtkblist || !node)
 		return;
 
+	if (node->ui_data == NULL)
+		gaim_gtk_blist_new_node(node);
+
 	switch(node->type) {
 		case GAIM_BLIST_GROUP_NODE:
 			gaim_gtk_blist_update_group(list, node);

mercurial