[next] telepathy-mission-control: Adjust contact features to Telepathy-1 API: quarks, not an enum

Simon McVittie smcv at kemper.freedesktop.org
Fri Oct 4 06:00:40 PDT 2013


Module: telepathy-mission-control
Branch: next
Commit: ef66a5044cd098575ac2f333084a7de419064e16
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=ef66a5044cd098575ac2f333084a7de419064e16

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Thu Sep 26 20:15:16 2013 +0100

Adjust contact features to Telepathy-1 API: quarks, not an enum

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54879
Reviewed-by: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>

---

 src/mcd-account.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mcd-account.c b/src/mcd-account.c
index 736669e..cdc20e8 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -5038,7 +5038,8 @@ mcd_account_self_contact_changed_cb (McdAccount *self,
       TP_CONTACT_FEATURE_AVATAR_TOKEN,
       TP_CONTACT_FEATURE_AVATAR_DATA,
       TP_CONTACT_FEATURE_ALIAS,
-      TP_CONTACT_FEATURE_PRESENCE
+      TP_CONTACT_FEATURE_PRESENCE,
+      0
   };
   TpContact *self_contact;
 
@@ -5060,8 +5061,7 @@ mcd_account_self_contact_changed_cb (McdAccount *self,
       tp_contact_get_identifier (self_contact));
 
   tp_connection_upgrade_contacts_async (tp_connection,
-      1, &self_contact,
-      G_N_ELEMENTS (contact_features), contact_features,
+      1, &self_contact, contact_features,
       mcd_account_self_contact_upgraded_cb,
       tp_weak_ref_new (self, NULL, NULL));
 }



More information about the telepathy-commits mailing list