Mercurial > pidgin
comparison src/prpl.c @ 11628:e1e47878d0ed
[gaim-migrate @ 13903]
sadrul's patch, updated by charkins, to remove the old account-away signal
and replace it with account-status-changed
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Sat, 08 Oct 2005 19:27:13 +0000 |
parents | 90be432e8385 |
children | 11e95968c9ff |
comparison
equal
deleted
inserted
replaced
11627:5dbefebb20cb | 11628:e1e47878d0ed |
---|---|
295 return; | 295 return; |
296 | 296 |
297 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(prpl); | 297 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(prpl); |
298 | 298 |
299 if (prpl_info->set_status != NULL) | 299 if (prpl_info->set_status != NULL) |
300 { | |
300 prpl_info->set_status(account, new_status); | 301 prpl_info->set_status(account, new_status); |
302 gaim_signal_emit(gaim_accounts_get_handle(), "account-status-changed", | |
303 account, old_status, new_status); | |
304 } | |
301 } | 305 } |
302 | 306 |
303 GList * | 307 GList * |
304 gaim_prpl_get_statuses(GaimAccount *account, GaimPresence *presence) | 308 gaim_prpl_get_statuses(GaimAccount *account, GaimPresence *presence) |
305 { | 309 { |