Mercurial > pidgin.yaz
diff src/status.c @ 10447:6feef0a9098a
[gaim-migrate @ 11712]
A few minor improvements and some documentation updates.
Conscious evolution in the back of your mind...
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 29 Dec 2004 21:53:59 +0000 |
parents | c9b1f3fac753 |
children | 6ec5da82ef41 |
line wrap: on
line diff
--- a/src/status.c Wed Dec 29 20:01:48 2004 +0000 +++ b/src/status.c Wed Dec 29 21:53:59 2004 +0000 @@ -628,8 +628,6 @@ } } - - if (ops != NULL && ops->update != NULL) ops->update(gaim_get_blist(), (GaimBlistNode*)buddy); } @@ -646,20 +644,7 @@ GaimAccountUiOps *ops = gaim_accounts_get_ui_ops(); if (gaim_account_get_enabled(account, gaim_core_get_ui())) - { - GaimPluginProtocolInfo *prpl_info = NULL; - GaimPlugin *prpl; - - prpl = gaim_find_prpl(gaim_account_get_protocol_id(account)); - - if (prpl != NULL) - { - prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(prpl); - - if (prpl_info != NULL && prpl_info->set_status != NULL) - prpl_info->set_status(account, new_status); - } - } + gaim_prpl_change_account_status(account, old_status, new_status); if (ops != NULL && ops->status_changed != NULL) {