libpurple/status.c

branch
soc.2013.gobjectification
changeset 34838
c53c8be87d39
parent 34834
f45f0745da61
child 34847
770ba2679b24
--- 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);
 	}
 }

mercurial