[gaim-migrate @ 8458]

Mon, 08 Dec 2003 22:55:35 +0000

author
Ethan Blanton <elb@pidgin.im>
date
Mon, 08 Dec 2003 22:55:35 +0000
changeset 7811
ac4d00073eee
parent 7810
63e622ceacf1
child 7812
bfc046ebd0c0

[gaim-migrate @ 8458]
Add a function definition which pmiller9 kindly pointed out was
missing, and remove a masturbatory variable and statement from
gtkblist.c.

src/blist.h file | annotate | diff | comparison | revisions
src/gtkblist.c file | annotate | diff | comparison | revisions
--- a/src/blist.h	Mon Dec 08 22:54:30 2003 +0000
+++ b/src/blist.h	Mon Dec 08 22:55:35 2003 +0000
@@ -762,6 +762,14 @@
 const char *gaim_blist_node_get_string(GaimBlistNode *node, const char *key);
 
 /**
+ * Removes a named setting from a blist node
+ *
+ * @param node  The node from which to remove the setting
+ * @param key   The name of the setting
+ */
+void gaim_blist_node_remove_setting(GaimBlistNode *node, const char *key);
+
+/**
  * Associates some data with the group in the xml buddy list
  *
  * @param g      The group the data is associated with
--- a/src/gtkblist.c	Mon Dec 08 22:54:30 2003 +0000
+++ b/src/gtkblist.c	Mon Dec 08 22:55:35 2003 +0000
@@ -1114,7 +1114,6 @@
 		GaimBuddy *buddy;
 		GaimConnection *gc;
 		GValue val = {0};
-		const char *prpl_id;
 		GString *str;
 		const char *protocol;
 		char *mime_str;
@@ -1146,8 +1145,6 @@
 			buddy = (GaimBuddy *)node;
 		}
 
-		prpl_id = gaim_account_get_protocol_id(buddy->account);
-
 		gc = gaim_account_get_connection(buddy->account);
 
 		if (gc == NULL)

mercurial