summaryrefslogtreecommitdiff
path: root/telepathy-glib/connection.h
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-05-10 12:37:05 +0200
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-05-10 16:31:23 +0200
commit2716a4c17f85d7c1ecf5a5b881e900cd4d4ffea3 (patch)
treec6626b16e513749286d18cc64c8cc4be29f10360 /telepathy-glib/connection.h
parent4dfca790804fff5411c316c34cca3494c44b340b (diff)
downloadtelepathy-glib-2716a4c17f85d7c1ecf5a5b881e900cd4d4ffea3.tar.gz
Deprecate tp_connection_get_contact(_list)_attributes
Contact attributes is an internal concept that should not appear in our API.
Diffstat (limited to 'telepathy-glib/connection.h')
-rw-r--r--telepathy-glib/connection.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/telepathy-glib/connection.h b/telepathy-glib/connection.h
index 4380928d3..c6bc5a646 100644
--- a/telepathy-glib/connection.h
+++ b/telepathy-glib/connection.h
@@ -336,16 +336,21 @@ G_BEGIN_DECLS
/* connection-handles.c again - this has to come after the auto-generated
* stuff because it uses an auto-generated typedef */
+#ifndef TP_DISABLE_DEPRECATED
+_TP_DEPRECATED_IN_UNRELEASED_FOR(tp_simple_client_factory_ensure_contact)
void tp_connection_get_contact_attributes (TpConnection *self,
gint timeout_ms, guint n_handles, const TpHandle *handles,
const gchar * const *interfaces, gboolean hold,
tp_cli_connection_interface_contacts_callback_for_get_contact_attributes callback,
gpointer user_data, GDestroyNotify destroy, GObject *weak_object);
+_TP_DEPRECATED_IN_UNRELEASED_FOR(tp_connection_dup_contact_list)
void tp_connection_get_contact_list_attributes (TpConnection *self,
gint timeout_ms, const gchar * const *interfaces, gboolean hold,
tp_cli_connection_interface_contacts_callback_for_get_contact_attributes callback,
gpointer user_data, GDestroyNotify destroy, GObject *weak_object);
+#endif
+
GBinding *tp_connection_bind_connection_status_to_property (TpConnection *self,
gpointer target, const char *target_property, gboolean invert);