diff options
author | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2012-09-05 13:02:41 +0200 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2012-09-05 14:06:27 +0200 |
commit | 050fedeeacb312b99cf82482fa4aeea55194765e (patch) | |
tree | efdef822cb6eeaf99310e80cb04e407381e498e8 /telepathy-glib/file-transfer-channel.c | |
parent | fad8f1f85525c1bf698240af6e6bad0cd3636a57 (diff) | |
download | telepathy-glib-050fedeeacb312b99cf82482fa4aeea55194765e.tar.gz |
TpChannel: Deprecate _borrow_ functions and replace them by _get_
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
_tp_channel_get_immutable_properties() is kept internal because we don't
want to expose more dbus-glib structures. tp_channel_dup_immutable_properties()
is added, it returns a GVariant and should be needed only to TpChannel
subclasses.
Diffstat (limited to 'telepathy-glib/file-transfer-channel.c')
-rw-r--r-- | telepathy-glib/file-transfer-channel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/telepathy-glib/file-transfer-channel.c b/telepathy-glib/file-transfer-channel.c index fcf0c6b1d..8e94e39b4 100644 --- a/telepathy-glib/file-transfer-channel.c +++ b/telepathy-glib/file-transfer-channel.c @@ -109,6 +109,7 @@ #define DEBUG_FLAG TP_DEBUG_CHANNEL #include "telepathy-glib/automatic-client-factory-internal.h" +#include "telepathy-glib/channel-internal.h" #include "telepathy-glib/debug-internal.h" #include <stdio.h> @@ -530,7 +531,7 @@ tp_file_transfer_channel_constructed (GObject *obj) G_OBJECT_CLASS (tp_file_transfer_channel_parent_class)->constructed (obj); - properties = tp_channel_borrow_immutable_properties (TP_CHANNEL (self)); + properties = _tp_channel_get_immutable_properties (TP_CHANNEL (self)); self->priv->mime_type = tp_asv_get_string (properties, TP_PROP_CHANNEL_TYPE_FILE_TRANSFER_CONTENT_TYPE); |