aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact.c
diff options
context:
space:
mode:
authorTravis Reitter <travis.reitter@collabora.co.uk>2011-03-11 14:01:09 +0800
committerTravis Reitter <travis.reitter@collabora.co.uk>2011-03-15 02:46:52 +0800
commitabf8b17d703c071f4fe91c09bac97c09314a2dc0 (patch)
tree5835eee865162e0e91b56cd4526c41ac776573f1 /libempathy/empathy-contact.c
parent07434728e84556fd321ea4a38f828035803ee76b (diff)
downloadgsoc2013-empathy-abf8b17d703c071f4fe91c09bac97c09314a2dc0.tar
gsoc2013-empathy-abf8b17d703c071f4fe91c09bac97c09314a2dc0.tar.gz
gsoc2013-empathy-abf8b17d703c071f4fe91c09bac97c09314a2dc0.tar.bz2
gsoc2013-empathy-abf8b17d703c071f4fe91c09bac97c09314a2dc0.tar.lz
gsoc2013-empathy-abf8b17d703c071f4fe91c09bac97c09314a2dc0.tar.xz
gsoc2013-empathy-abf8b17d703c071f4fe91c09bac97c09314a2dc0.tar.zst
gsoc2013-empathy-abf8b17d703c071f4fe91c09bac97c09314a2dc0.zip
Adjust for Folks Groupable -> GroupDetails rename
Helps bgo#644470 - Empathy needs to catch up with Folks interface name change (API/ABI breaks)
Diffstat (limited to 'libempathy/empathy-contact.c')
-rw-r--r--libempathy/empathy-contact.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index 3218e298f..ad462b203 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -752,10 +752,10 @@ groups_change_group_cb (GObject *source,
GAsyncResult *result,
gpointer user_data)
{
- FolksGroupable *groupable = FOLKS_GROUPABLE (source);
+ FolksGroupDetails *group_details = FOLKS_GROUP_DETAILS (source);
GError *error = NULL;
- folks_groupable_change_group_finish (groupable, result, &error);
+ folks_group_details_change_group_finish (group_details, result, &error);
if (error != NULL)
{
g_warning ("failed to change group: %s", error->message);
@@ -779,9 +779,9 @@ empathy_contact_change_group (EmpathyContact *contact, const gchar *group,
persona = empathy_contact_get_persona (contact);
if (persona != NULL)
{
- if (FOLKS_IS_GROUPABLE (persona))
- folks_groupable_change_group (FOLKS_GROUPABLE (persona), group, is_member,
- groups_change_group_cb, contact);
+ if (FOLKS_IS_GROUP_DETAILS (persona))
+ folks_group_details_change_group (FOLKS_GROUP_DETAILS (persona), group,
+ is_member, groups_change_group_cb, contact);
return;
}
@@ -944,7 +944,8 @@ empathy_contact_set_persona (EmpathyContact *contact,
/* Set the persona's groups */
if (priv->groups != NULL)
{
- folks_groupable_set_groups (FOLKS_GROUPABLE (persona), priv->groups);
+ folks_group_details_set_groups (FOLKS_GROUP_DETAILS (persona),
+ priv->groups);
g_hash_table_destroy (priv->groups);
priv->groups = NULL;
}