Mercurial > pidgin
comparison src/gtkconv.c @ 7125:208cb260d7a7
[gaim-migrate @ 7692]
as long as we're pissing off plugin developers...
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 02 Oct 2003 05:26:40 +0000 |
parents | bf630f7dfdcd |
children | 80a000885b2c |
comparison
equal
deleted
inserted
replaced
7124:be4ca65b3b48 | 7125:208cb260d7a7 |
---|---|
5272 if(gtkconv->u.im->anim) | 5272 if(gtkconv->u.im->anim) |
5273 g_object_unref(G_OBJECT(gtkconv->u.im->anim)); | 5273 g_object_unref(G_OBJECT(gtkconv->u.im->anim)); |
5274 | 5274 |
5275 if((buddy = gaim_find_buddy(gaim_conversation_get_account(conv), | 5275 if((buddy = gaim_find_buddy(gaim_conversation_get_account(conv), |
5276 gaim_conversation_get_name(conv))) != NULL) { | 5276 gaim_conversation_get_name(conv))) != NULL) { |
5277 char *file = gaim_buddy_get_setting(buddy, "buddy_icon"); | 5277 const char *file; |
5278 if(file) { | 5278 if((file = gaim_buddy_get_setting(buddy, "buddy_icon"))) |
5279 gtkconv->u.im->anim = gdk_pixbuf_animation_new_from_file(file, &err); | 5279 gtkconv->u.im->anim = gdk_pixbuf_animation_new_from_file(file, &err); |
5280 g_free(file); | |
5281 } | |
5282 } | 5280 } |
5283 else | 5281 else |
5284 { | 5282 { |
5285 GaimBuddyIcon *icon = gaim_conv_im_get_icon(GAIM_CONV_IM(conv)); | 5283 GaimBuddyIcon *icon = gaim_conv_im_get_icon(GAIM_CONV_IM(conv)); |
5286 | 5284 |