diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2013-01-09 09:59:41 +0000 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2013-01-09 10:00:44 +0000 |
commit | 949324dbc3515e2cebced4a1a410c725896f4a6e (patch) | |
tree | 2c64944ec110f1fbb3aad9208c39edea856b2c97 | |
parent | 12e8b215512e99b8f11a2800b8f9842c59dd38d6 (diff) | |
download | telepathy-glib-949324dbc3515e2cebced4a1a410c725896f4a6e.tar.gz |
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.
-rw-r--r-- | telepathy-glib/contact.c | 4 | ||||
-rw-r--r-- | 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 94b0952dd..c505bc846 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 0a4a240e1..85f9084fc 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, |