diff options
author | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2012-09-05 11:15:00 +0200 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2012-09-05 15:44:23 +0200 |
commit | cde6fbb93f2c1392e51f67f5d4d15b22ff48e307 (patch) | |
tree | 9d070daa909e97b10bc1fd041aa06323f18bce5a /telepathy-glib/base-client.h | |
parent | a934de9b7cdec5204046dacf38afcac9a12eef69 (diff) | |
download | telepathy-glib-cde6fbb93f2c1392e51f67f5d4d15b22ff48e307.tar.gz |
TpBaseClient: Deprecate _get_ functions returning a GList and replace them by _dup_
New transfer and naming policy has been discussed in
https://bugs.freedesktop.org/show_bug.cgi?id=39189 and is
documented there: http://telepathy.freedesktop.org/wiki/Style/TelepathyGLib
Diffstat (limited to 'telepathy-glib/base-client.h')
-rw-r--r-- | telepathy-glib/base-client.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/telepathy-glib/base-client.h b/telepathy-glib/base-client.h index 07c130259..ae5ba3db1 100644 --- a/telepathy-glib/base-client.h +++ b/telepathy-glib/base-client.h @@ -198,8 +198,17 @@ gboolean tp_base_client_register (TpBaseClient *self, /* Normal methods, can be called at any time */ +#ifndef TP_DISABLE_DEPRECATED +_TP_DEPRECATED_IN_0_20_FOR (tp_base_client_dup_pending_requests) GList *tp_base_client_get_pending_requests (TpBaseClient *self); +_TP_DEPRECATED_IN_0_20_FOR (tp_base_client_dup_handled_channels) GList *tp_base_client_get_handled_channels (TpBaseClient *self); +#endif + +_TP_AVAILABLE_IN_0_20 +GList *tp_base_client_dup_pending_requests (TpBaseClient *self); +_TP_AVAILABLE_IN_0_20 +GList *tp_base_client_dup_handled_channels (TpBaseClient *self); gboolean tp_base_client_is_handling_channel (TpBaseClient *self, TpChannel *channel); |