Mercurial > pidgin.yaz
diff src/gtkconv.c @ 7693:1d0314b99747
[gaim-migrate @ 8338]
this doesn't seem to crash, so I figured I'd put it in
get rid of the gaim_{buddy,chat,group}_{get,set}_setting() functions and
replace them with gaim_blist_node_{get,set}_{bool,int,string} so we can have
types, and clean up the code, all at the same time.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 02 Dec 2003 07:08:02 +0000 |
parents | cf6a7939af78 |
children | 6a9acef3b867 |
line wrap: on
line diff
--- a/src/gtkconv.c Tue Dec 02 04:04:11 2003 +0000 +++ b/src/gtkconv.c Tue Dec 02 07:08:02 2003 +0000 @@ -5288,7 +5288,7 @@ if((buddy = gaim_find_buddy(gaim_conversation_get_account(conv), gaim_conversation_get_name(conv))) != NULL) { const char *file; - if((file = gaim_buddy_get_setting(buddy, "buddy_icon"))) + if((file = gaim_blist_node_get_string((GaimBlistNode*)buddy, "buddy_icon"))) gtkconv->u.im->anim = gdk_pixbuf_animation_new_from_file(file, &err); } else