aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-contact.c')
-rw-r--r--libempathy/empathy-contact.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index ad462b203..bf0da384c 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -510,8 +510,8 @@ empathy_contact_set_presence_message (EmpathyContact *contact,
if (priv->persona != NULL)
{
- folks_presence_owner_set_presence_message (
- FOLKS_PRESENCE_OWNER (priv->persona), message);
+ folks_presence_details_set_presence_message (
+ FOLKS_PRESENCE_DETAILS (priv->persona), message);
}
}
@@ -992,8 +992,8 @@ empathy_contact_get_presence_message (EmpathyContact *contact)
priv = GET_PRIV (contact);
if (priv->persona != NULL)
- return folks_presence_owner_get_presence_message (
- FOLKS_PRESENCE_OWNER (priv->persona));
+ return folks_presence_details_get_presence_message (
+ FOLKS_PRESENCE_DETAILS (priv->persona));
if (priv->tp_contact != NULL)
return tp_contact_get_presence_message (priv->tp_contact);
@@ -1801,16 +1801,16 @@ static int
presence_cmp_func (EmpathyContact *a,
EmpathyContact *b)
{
- FolksPresenceOwner *presence_a, *presence_b;
+ FolksPresenceDetails *presence_a, *presence_b;
- presence_a = FOLKS_PRESENCE_OWNER (empathy_contact_get_persona (a));
- presence_b = FOLKS_PRESENCE_OWNER (empathy_contact_get_persona (b));
+ presence_a = FOLKS_PRESENCE_DETAILS (empathy_contact_get_persona (a));
+ presence_b = FOLKS_PRESENCE_DETAILS (empathy_contact_get_persona (b));
/* We negate the result because we're sorting in reverse order (i.e. such that
* the Personas with the highest presence are at the beginning of the list. */
- return -folks_presence_owner_typecmp (
- folks_presence_owner_get_presence_type (presence_a),
- folks_presence_owner_get_presence_type (presence_b));
+ return -folks_presence_details_typecmp (
+ folks_presence_details_get_presence_type (presence_a),
+ folks_presence_details_get_presence_type (presence_b));
}
static gint