changeset 7721:20d0c025312a

[gaim-migrate @ 8366] i missed a few calls when converting to the new API: Ethan and Christian: I think the perl (and maybe tcl) stuff needs to be changed to reflect this new stuff committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 03 Dec 2003 07:11:52 +0000
parents 5fe29daf52d7
children db1542e84ee6
files src/buddyicon.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddyicon.c	Wed Dec 03 06:50:48 2003 +0000
+++ b/src/buddyicon.c	Wed Dec 03 07:11:52 2003 +0000
@@ -190,7 +190,7 @@
 	random   = g_strdup_printf("%x", g_random_int());
 	dirname  = gaim_buddy_icons_get_cache_dir();
 	filename = g_build_filename(dirname, random, NULL);
-	old_icon = gaim_buddy_get_setting(buddy, "buddy_icon");
+	old_icon = gaim_blist_node_get_string((GaimBlistNode*)buddy, "buddy_icon");
 
 	g_free(random);
 
@@ -215,7 +215,7 @@
 	if (old_icon != NULL)
 		unlink(old_icon);
 
-	gaim_buddy_set_setting(buddy, "buddy_icon", filename);
+	gaim_blist_node_set_string((GaimBlistNode*)buddy, "buddy_icon", filename);
 	gaim_blist_save();
 
 	g_free(filename);