--- a/libpurple/status.c Sat Jul 20 02:02:13 2013 +0530 +++ b/libpurple/status.c Sat Jul 20 02:30:49 2013 +0530 @@ -578,7 +578,7 @@ if (context == PURPLE_PRESENCE_CONTEXT_ACCOUNT) { - PurpleAccount *account = purple_presence_get_account(presence); + PurpleAccount *account = purple_account_presence_get_account(presence); PurpleAccountUiOps *ops = purple_accounts_get_ui_ops(); if (purple_account_get_enabled(account, purple_core_get_ui())) @@ -591,7 +591,7 @@ } else if (context == PURPLE_PRESENCE_CONTEXT_BUDDY) { - notify_buddy_status_update(purple_presence_get_buddy(presence), presence, + notify_buddy_status_update(purple_buddy_presence_get_buddy(presence), presence, old_status, new_status); } }