comparison src/buddyicon.c @ 9285:7a8aa87164ae

[gaim-migrate @ 10088] Ok I'm done. This started out as shx's patch to make add/remove buddy/buddies take GaimBuddy and GaimGroup's in various places. I think his diff was like 2000 lines and mine is like 5000. I tried to clean up blist.c a bit and make it more uniform. There are some more g_return_if_fail() checks. Removed some code that was deprecated--it's probably been long enough. Removed some #include <multi.h>'s. Make blist.xml saving happen on a timer, like prefs.xml and accounts.xml. Sorry if this doesn't merge cleanly with whatever you're doing. People should really test this a lot. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 15 Jun 2004 02:37:27 +0000
parents 52dca2f38956
children 0c201a2386c7
comparison
equal deleted inserted replaced
9284:fe0291162312 9285:7a8aa87164ae
218 } 218 }
219 219
220 if (old_icon != NULL) 220 if (old_icon != NULL)
221 unlink(old_icon); 221 unlink(old_icon);
222 222
223 gaim_blist_node_set_string((GaimBlistNode*)buddy, "buddy_icon", filename); 223 gaim_blist_node_set_string((GaimBlistNode *)buddy, "buddy_icon", filename);
224 gaim_blist_save();
225 224
226 g_free(filename); 225 g_free(filename);
227 } 226 }
228 227
229 void 228 void