Mercurial > pidgin.yaz
changeset 7811:2e6e269504a4
[gaim-migrate @ 8458]
Add a function definition which pmiller9 kindly pointed out was
missing, and remove a masturbatory variable and statement from
gtkblist.c.
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Mon, 08 Dec 2003 22:55:35 +0000 |
parents | 10010e717354 |
children | 02cb9284782e |
files | src/blist.h src/gtkblist.c |
diffstat | 2 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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)