telepathy-glib: room-list-chan: implement close

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Mon Apr 30 02:47:38 PDT 2012


Module: telepathy-glib
Branch: master
Commit: b2d1595361a5c85f8f25548e1178e267404ec63a
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=b2d1595361a5c85f8f25548e1178e267404ec63a

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Tue Apr 17 15:35:50 2012 +0200

room-list-chan: implement close

---

 tests/lib/room-list-chan.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/tests/lib/room-list-chan.c b/tests/lib/room-list-chan.c
index 481beaa..12a87a3 100644
--- a/tests/lib/room-list-chan.c
+++ b/tests/lib/room-list-chan.c
@@ -112,6 +112,12 @@ fill_immutable_properties (TpBaseChannel *chan,
 }
 
 static void
+room_list_chan_close (TpBaseChannel *channel)
+{
+  tp_base_channel_destroyed (channel);
+}
+
+static void
 tp_tests_room_list_chan_class_init (
     TpTestsRoomListChanClass *klass)
 {
@@ -131,6 +137,7 @@ tp_tests_room_list_chan_class_init (
   base_class->channel_type = TP_IFACE_CHANNEL_TYPE_ROOM_LIST;
   base_class->target_handle_type = TP_HANDLE_TYPE_NONE;
   base_class->fill_immutable_properties = fill_immutable_properties;
+  base_class->close = room_list_chan_close;
 
   spec = g_param_spec_string ("server", "server",
       "Server",



More information about the telepathy-commits mailing list