libpurple/status.c

branch
soc.2013.gobjectification.plugins
changeset 36545
23b59a16c808
parent 34858
28ac3a0418f1
child 36843
a81a985c60f4
equal deleted inserted replaced
36544:1bf8b6ef5aea 36545:23b59a16c808
557 PurpleAccount *account = purple_account_presence_get_account( 557 PurpleAccount *account = purple_account_presence_get_account(
558 PURPLE_ACCOUNT_PRESENCE(presence)); 558 PURPLE_ACCOUNT_PRESENCE(presence));
559 PurpleAccountUiOps *ops = purple_accounts_get_ui_ops(); 559 PurpleAccountUiOps *ops = purple_accounts_get_ui_ops();
560 560
561 if (purple_account_get_enabled(account, purple_core_get_ui())) 561 if (purple_account_get_enabled(account, purple_core_get_ui()))
562 purple_prpl_change_account_status(account, old_status, new_status); 562 purple_protocol_change_account_status(account, old_status, new_status);
563 563
564 if (ops != NULL && ops->status_changed != NULL) 564 if (ops != NULL && ops->status_changed != NULL)
565 { 565 {
566 ops->status_changed(account, new_status); 566 ops->status_changed(account, new_status);
567 } 567 }

mercurial