diff options
-rw-r--r-- | telepathy-glib/channel-dispatch-operation.c | 2 | ||||
-rw-r--r-- | telepathy-glib/channel-dispatch-operation.h | 3 | ||||
-rw-r--r-- | telepathy-glib/channel-request.c | 2 | ||||
-rw-r--r-- | telepathy-glib/channel-request.h | 3 |
4 files changed, 10 insertions, 0 deletions
diff --git a/telepathy-glib/channel-dispatch-operation.c b/telepathy-glib/channel-dispatch-operation.c index 1793e4b83..07453a0b1 100644 --- a/telepathy-glib/channel-dispatch-operation.c +++ b/telepathy-glib/channel-dispatch-operation.c @@ -886,6 +886,8 @@ tp_channel_dispatch_operation_init_known_interfaces (void) * Returns: a new reference to an channel dispatch operation proxy, or %NULL if * @object_path is not syntactically valid or the channel dispatcher is not * running + * Deprecated: Since 0.UNRELEASED. New code should get + * #TpChannelDispatchOperation objects from a #TpBaseClient */ TpChannelDispatchOperation * tp_channel_dispatch_operation_new (TpDBusDaemon *bus_daemon, diff --git a/telepathy-glib/channel-dispatch-operation.h b/telepathy-glib/channel-dispatch-operation.h index d7be9d480..f90425fd6 100644 --- a/telepathy-glib/channel-dispatch-operation.h +++ b/telepathy-glib/channel-dispatch-operation.h @@ -75,10 +75,13 @@ GType tp_channel_dispatch_operation_get_type (void); (G_TYPE_INSTANCE_GET_CLASS ((obj), TP_TYPE_CHANNEL_DISPATCH_OPERATION, \ TpChannelDispatchOperationClass)) +#ifndef TP_DISABLE_DEPRECATED +_TP_DEPRECATED_IN_0_20 TpChannelDispatchOperation *tp_channel_dispatch_operation_new ( TpDBusDaemon *bus_daemon, const gchar *object_path, GHashTable *immutable_properties, GError **error) G_GNUC_WARN_UNUSED_RESULT; +#endif void tp_channel_dispatch_operation_init_known_interfaces (void); diff --git a/telepathy-glib/channel-request.c b/telepathy-glib/channel-request.c index 636456ab1..7ed924c33 100644 --- a/telepathy-glib/channel-request.c +++ b/telepathy-glib/channel-request.c @@ -567,6 +567,8 @@ tp_channel_request_init_known_interfaces (void) * Returns: a new reference to an channel request proxy, or %NULL if * @object_path is not syntactically valid or the channel dispatcher is * not running + * Deprecated: Since 0.UNRELEASED. New code should get #TpChannelRequest objects + * from a #TpBaseClient */ TpChannelRequest * tp_channel_request_new (TpDBusDaemon *bus_daemon, diff --git a/telepathy-glib/channel-request.h b/telepathy-glib/channel-request.h index a2989490a..85a943756 100644 --- a/telepathy-glib/channel-request.h +++ b/telepathy-glib/channel-request.h @@ -70,9 +70,12 @@ GType tp_channel_request_get_type (void); (G_TYPE_INSTANCE_GET_CLASS ((obj), TP_TYPE_CHANNEL_REQUEST, \ TpChannelRequestClass)) +#ifndef TP_DISABLE_DEPRECATED +_TP_DEPRECATED_IN_0_20 TpChannelRequest *tp_channel_request_new (TpDBusDaemon *bus_daemon, const gchar *object_path, GHashTable *immutable_properties, GError **error) G_GNUC_WARN_UNUSED_RESULT; +#endif void tp_channel_request_init_known_interfaces (void); |