[next] telepathy-glib: TpChannel: Deprecate _borrow_ functions and replace them by _get_

Xavier Claessens xclaesse at kemper.freedesktop.org
Fri Sep 7 12:08:57 PDT 2012


Module: telepathy-glib
Branch: next
Commit: 050fedeeacb312b99cf82482fa4aeea55194765e
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=050fedeeacb312b99cf82482fa4aeea55194765e

Author: Xavier Claessens <xavier.claessens at collabora.co.uk>
Date:   Wed Sep  5 13:02:41 2012 +0200

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.

---

 docs/reference/telepathy-glib-sections.txt    |    2 +
 examples/client/stream-tubes/accepter.c       |   15 +-----
 telepathy-glib/call-channel.c                 |    8 ++--
 telepathy-glib/channel-internal.h             |    1 +
 telepathy-glib/channel.c                      |   60 +++++++++++++++++++++++++
 telepathy-glib/channel.h                      |    9 ++++
 telepathy-glib/contact-search.c               |    3 +-
 telepathy-glib/dbus-tube-channel.c            |    5 +-
 telepathy-glib/file-transfer-channel.c        |    3 +-
 telepathy-glib/room-list.c                    |    3 +-
 telepathy-glib/stream-tube-channel.c          |   13 +++---
 telepathy-glib/text-channel.c                 |    8 ++--
 tests/lib/simple-channel-dispatch-operation.c |   11 ++++-
 13 files changed, 108 insertions(+), 33 deletions(-)

Diff:   http://cgit.freedesktop.org/telepathy/telepathy-glib/diff/?id=050fedeeacb312b99cf82482fa4aeea55194765e


More information about the telepathy-commits mailing list