Mercurial > pidgin
comparison libgaim/server.c @ 14981:0a9c44ce9a4a
[gaim-migrate @ 17760]
Get rid of serv_set_buddyicon(). Moved the code directly
into gaim_account_set_buddy_icon().
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 16 Nov 2006 22:47:45 +0000 |
parents | f23506e8f812 |
children | a6aad36ca735 |
comparison
equal
deleted
inserted
replaced
14980:f4705e2c2026 | 14981:0a9c44ce9a4a |
---|---|
412 val = prpl_info->chat_send(gc, id, message, flags); | 412 val = prpl_info->chat_send(gc, id, message, flags); |
413 | 413 |
414 return val; | 414 return val; |
415 } | 415 } |
416 | 416 |
417 void serv_set_buddyicon(GaimConnection *gc, const char *filename) | |
418 { | |
419 GaimPluginProtocolInfo *prpl_info = NULL; | |
420 | |
421 if (gc->prpl != NULL) | |
422 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl); | |
423 | |
424 if (prpl_info && prpl_info->set_buddy_icon) | |
425 prpl_info->set_buddy_icon(gc, filename); | |
426 | |
427 } | |
428 | |
429 /* | 417 /* |
430 * woo. i'm actually going to comment this function. isn't that fun. make | 418 * woo. i'm actually going to comment this function. isn't that fun. make |
431 * sure to follow along, kids | 419 * sure to follow along, kids |
432 */ | 420 */ |
433 void serv_got_im(GaimConnection *gc, const char *who, const char *msg, | 421 void serv_got_im(GaimConnection *gc, const char *who, const char *msg, |