diff options
author | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2012-05-10 11:14:25 +0200 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2012-05-10 16:31:22 +0200 |
commit | 4dfca790804fff5411c316c34cca3494c44b340b (patch) | |
tree | 12458d8bdc9fe5db6ee965af4fc5f1c381ea789c /telepathy-glib/handle-repo.h | |
parent | b09ac85e4056cfe6c4dc27bfdcf7f6b80f7e3538 (diff) | |
download | telepathy-glib-4dfca790804fff5411c316c34cca3494c44b340b.tar.gz |
Deprecate tp_handle(s)_ref/unref, tp_handle(s)_client_hold/release and tp_connection_unref_handles()
They are no-op now, so we can safely remove them all
Diffstat (limited to 'telepathy-glib/handle-repo.h')
-rw-r--r-- | telepathy-glib/handle-repo.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/telepathy-glib/handle-repo.h b/telepathy-glib/handle-repo.h index 2b02cee56..cfe58e4e7 100644 --- a/telepathy-glib/handle-repo.h +++ b/telepathy-glib/handle-repo.h @@ -79,19 +79,29 @@ gboolean tp_handle_is_valid (TpHandleRepoIface *self, gboolean tp_handles_are_valid (TpHandleRepoIface *self, const GArray *handles, gboolean allow_zero, GError **error); +#ifndef TP_DISABLE_DEPRECATED +_TP_DEPRECATED_IN_UNRELEASED TpHandle tp_handle_ref (TpHandleRepoIface *self, TpHandle handle); +_TP_DEPRECATED_IN_UNRELEASED void tp_handles_ref (TpHandleRepoIface *self, const GArray *handles); +_TP_DEPRECATED_IN_UNRELEASED void tp_handle_unref (TpHandleRepoIface *self, TpHandle handle); +_TP_DEPRECATED_IN_UNRELEASED void tp_handles_unref (TpHandleRepoIface *self, const GArray *handles); +_TP_DEPRECATED_IN_UNRELEASED gboolean tp_handle_client_hold (TpHandleRepoIface *self, const gchar *client, TpHandle handle, GError **error); +_TP_DEPRECATED_IN_UNRELEASED gboolean tp_handles_client_hold (TpHandleRepoIface *self, const gchar *client, const GArray *handles, GError **error); +_TP_DEPRECATED_IN_UNRELEASED gboolean tp_handle_client_release (TpHandleRepoIface *self, const gchar *client, TpHandle handle, GError **error); +_TP_DEPRECATED_IN_UNRELEASED gboolean tp_handles_client_release (TpHandleRepoIface *self, const gchar *client, const GArray *handles, GError **error); +#endif const char *tp_handle_inspect (TpHandleRepoIface *self, TpHandle handle) G_GNUC_WARN_UNUSED_RESULT; |