console/gntblist.c

changeset 13923
5552f69232b8
parent 13922
7195a6fe2416
child 13926
d2c1522276b3
--- a/console/gntblist.c	Fri Jun 23 19:41:31 2006 +0000
+++ b/console/gntblist.c	Fri Jun 23 20:42:25 2006 +0000
@@ -17,8 +17,6 @@
 
 	GntWidget *tooltip;
 	GaimBlistNode *tnode;		/* Who is the tooltip being displayed for? */
-
-	GaimBuddyList *list;
 } GGBlist;
 
 GGBlist *ggblist;
@@ -134,7 +132,7 @@
 static void
 buddy_signed_off(GaimBuddy *buddy, GGBlist *ggblist)
 {
-	node_remove(ggblist->list, (GaimBlistNode*)buddy);
+	node_remove(gaim_get_blist(), (GaimBlistNode*)buddy);
 }
 
 GaimBlistUiOps *gg_blist_get_ui_ops()
@@ -246,7 +244,6 @@
 	ggblist = g_new0(GGBlist, 1);
 
 	gaim_get_blist()->ui_data = ggblist;
-	ggblist->list = gaim_get_blist();
 
 	ggblist->window = gnt_box_new(FALSE, FALSE);
 	gnt_box_set_toplevel(GNT_BOX(ggblist->window), TRUE);

mercurial