diff src/blist.c @ 9944:e4a27c9aec4c

[gaim-migrate @ 10838] with much rejoicing, and massive thanks to the efforts of Christian, and all who have helped him, I present to you the incomplete status rewrite! committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 03 Sep 2004 21:35:52 +0000
parents 5d8d73c2eebe
children ced29c7b396c
line wrap: on
line diff
--- a/src/blist.c	Fri Sep 03 21:21:25 2004 +0000
+++ b/src/blist.c	Fri Sep 03 21:35:52 2004 +0000
@@ -1118,6 +1118,7 @@
 
 void gaim_blist_add_group(GaimGroup *group, GaimBlistNode *node)
 {
+#if 0
 	GaimBlistUiOps *ops;
 	GaimBlistNode *gnode = (GaimBlistNode*)group;
 
@@ -1272,6 +1273,8 @@
 	if (buddy->icon != NULL)
 		gaim_buddy_icon_unref(buddy->icon);
 	g_hash_table_destroy(buddy->node.settings);
+	gaim_presence_remove_buddy(buddy->presence, buddy);
+	gaim_presence_destroy(buddy->presence);
 	g_free(buddy->name);
 	g_free(buddy->alias);
 	g_free(buddy);
@@ -1728,8 +1731,7 @@
 						((GaimBuddy*)bnode)->present = GAIM_BUDDY_OFFLINE;
 
 						((GaimBuddy*)bnode)->uc = 0;
-						((GaimBuddy*)bnode)->idle = 0;
-						((GaimBuddy*)bnode)->evil = 0;
+						/* XXX ((GaimBuddy*)bnode)->idle = 0; */
 
 
 						if (ops && ops->remove)