From f0d02e21e8cd66c5e2a6e0ff7d282d83f229218f Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 26 Sep 2013 20:15:16 +0100 Subject: [PATCH 11/22] Adjust contact features to Telepathy-1 API: quarks, not an enum --- src/mcd-account.c | 6 +++--- 1 file 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)); } -- 1.8.4.rc3