Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
7692:8a826b27fcfb | 7693:1d0314b99747 |
---|---|
5286 g_object_unref(G_OBJECT(gtkconv->u.im->anim)); | 5286 g_object_unref(G_OBJECT(gtkconv->u.im->anim)); |
5287 | 5287 |
5288 if((buddy = gaim_find_buddy(gaim_conversation_get_account(conv), | 5288 if((buddy = gaim_find_buddy(gaim_conversation_get_account(conv), |
5289 gaim_conversation_get_name(conv))) != NULL) { | 5289 gaim_conversation_get_name(conv))) != NULL) { |
5290 const char *file; | 5290 const char *file; |
5291 if((file = gaim_buddy_get_setting(buddy, "buddy_icon"))) | 5291 if((file = gaim_blist_node_get_string((GaimBlistNode*)buddy, "buddy_icon"))) |
5292 gtkconv->u.im->anim = gdk_pixbuf_animation_new_from_file(file, &err); | 5292 gtkconv->u.im->anim = gdk_pixbuf_animation_new_from_file(file, &err); |
5293 } | 5293 } |
5294 else | 5294 else |
5295 { | 5295 { |
5296 GaimBuddyIcon *icon = gaim_conv_im_get_icon(GAIM_CONV_IM(conv)); | 5296 GaimBuddyIcon *icon = gaim_conv_im_get_icon(GAIM_CONV_IM(conv)); |