[next] telepathy-glib: TpConnectionManager: Always create from a factory
Simon McVittie
smcv at kemper.freedesktop.org
Thu Apr 3 07:25:27 PDT 2014
Module: telepathy-glib
Branch: next
Commit: eaed94ea7bdfee64318f685f5a9a9d8789690ced
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=eaed94ea7bdfee64318f685f5a9a9d8789690ced
Author: Xavier Claessens <xavier.claessens at collabora.com>
Date: Sat Mar 29 17:12:09 2014 -0400
TpConnectionManager: Always create from a factory
Also create CM's TpProtocol objects from the factory now
that the CM always has one.
In protocol-objects test_factory() it changes the cm_name because
TpProtocol objects are now shared with TpConnectionManager that
keeps a ref on them.
---
.../telepathy-glib/telepathy-glib-sections.txt | 3 +-
examples/client/extended-client.c | 13 ++---
examples/client/inspect-cm.c | 3 +-
telepathy-glib/client-factory-internal.h | 6 +++
telepathy-glib/client-factory.c | 55 ++++++++++++++++++++
telepathy-glib/client-factory.h | 7 +++
telepathy-glib/connection-manager.c | 51 ++++++++----------
telepathy-glib/connection-manager.h | 4 --
telepathy-glib/versions/main-1.0.abi | 1 -
tests/dbus/call-channel.c | 9 ++--
tests/dbus/cm.c | 28 +++++-----
tests/dbus/example-no-protocols.c | 17 +++---
tests/dbus/message-mixin.c | 13 +++--
tests/dbus/protocol-objects.c | 14 ++---
14 files changed, 145 insertions(+), 79 deletions(-)
Diff: http://cgit.freedesktop.org/telepathy/telepathy-glib/diff/?id=eaed94ea7bdfee64318f685f5a9a9d8789690ced
More information about the telepathy-commits
mailing list