changeset 9299:635f88dc9adf

[gaim-migrate @ 10102] Someone who knows this code better than I may want to double check this, but this seems to fix the issues I was having with buddy icons not updating committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Wed, 16 Jun 2004 06:51:24 +0000
parents b0b544e0f246
children 98f01c233a40
files src/blist.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/blist.c	Wed Jun 16 02:21:34 2004 +0000
+++ b/src/blist.c	Wed Jun 16 06:51:24 2004 +0000
@@ -648,12 +648,12 @@
 			gaim_buddy_icon_unref(buddy->icon);
 
 		buddy->icon = (icon == NULL ? NULL : gaim_buddy_icon_ref(icon));
-
-		gaim_buddy_icon_cache(icon, buddy);
-
-		schedule_blist_save();
 	}
 
+	gaim_buddy_icon_cache(icon, buddy);
+
+	schedule_blist_save();
+	
 	gaim_blist_update_buddy_icon(buddy);
 }