telepathy-glib: Fix mistaken references to tp_connection_get_contact_by_id_async

Will Thompson wjt at kemper.freedesktop.org
Wed Jan 9 02:01:11 PST 2013


Module: telepathy-glib
Branch: master
Commit: 949324dbc3515e2cebced4a1a410c725896f4a6e
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=949324dbc3515e2cebced4a1a410c725896f4a6e

Author: Will Thompson <will.thompson at collabora.co.uk>
Date:   Wed Jan  9 09:59:41 2013 +0000

Fix mistaken references to tp_connection_get_contact_by_id_async

tp_connection_get_contact_by_id_async does not exist; it is called
tp_connection_dup_contact_by_id_async.

---

 telepathy-glib/contact.c |    4 ++--
 telepathy-glib/contact.h |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/telepathy-glib/contact.c b/telepathy-glib/contact.c
index 94b0952..c505bc8 100644
--- a/telepathy-glib/contact.c
+++ b/telepathy-glib/contact.c
@@ -4603,7 +4603,7 @@ contacts_requested_handles (TpConnection *connection,
  * connection managers.
  *
  * Since: 0.7.18
- * Deprecated: Use tp_connection_get_contact_by_id_async() instead.
+ * Deprecated: Use tp_connection_dup_contact_by_id_async() instead.
  */
 void
 tp_connection_get_contacts_by_id (TpConnection *self,
@@ -4773,7 +4773,7 @@ tp_connection_dup_contact_by_id_async (TpConnection *self,
  * @result: a #GAsyncResult
  * @error: a #GError to fill
  *
- * Finishes tp_connection_get_contact_by_id_async().
+ * Finishes tp_connection_dup_contact_by_id_async().
  *
  * Returns: (transfer full): a #TpContact or %NULL on error.
  * Since: 0.19.0
diff --git a/telepathy-glib/contact.h b/telepathy-glib/contact.h
index 0a4a240..85f9084 100644
--- a/telepathy-glib/contact.h
+++ b/telepathy-glib/contact.h
@@ -175,7 +175,7 @@ typedef void (*TpConnectionContactsByIdCb) (TpConnection *connection,
     const gchar * const *requested_ids, GHashTable *failed_id_errors,
     const GError *error, gpointer user_data, GObject *weak_object);
 
-_TP_DEPRECATED_IN_0_20_FOR(tp_connection_get_contact_by_id_async)
+_TP_DEPRECATED_IN_0_20_FOR(tp_connection_dup_contact_by_id_async)
 void tp_connection_get_contacts_by_id (TpConnection *self,
     guint n_ids, const gchar * const *ids,
     guint n_features, const TpContactFeature *features,



More information about the telepathy-commits mailing list