[gaim-migrate @ 10102]

Wed, 16 Jun 2004 06:51:24 +0000

author
Tim Ringenbach <marv@pidgin.im>
date
Wed, 16 Jun 2004 06:51:24 +0000
changeset 9299
6ea4c4da101a
parent 9298
86a7b7f005c1
child 9300
eefa5cc2f465

[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

src/blist.c file | annotate | diff | comparison | revisions
--- 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);
 }
 

mercurial