[Telepathy-commits] [telepathy-gabble/master] GabbleRoomlistChannel: add RoomList.Server D-Bus property

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Aug 19 10:53:12 PDT 2008


20080606161736-53eee-39edd911f3b666068f537a04bb3d7f20eaf9fe9b.gz
---
 src/gabble-roomlist-channel.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/gabble-roomlist-channel.c b/src/gabble-roomlist-channel.c
index 67e787d..ef19c35 100644
--- a/src/gabble-roomlist-channel.c
+++ b/src/gabble-roomlist-channel.c
@@ -238,12 +238,21 @@ gabble_roomlist_channel_class_init (GabbleRoomlistChannelClass *gabble_roomlist_
       { "Interfaces", "interfaces", NULL },
       { NULL }
   };
+  static TpDBusPropertiesMixinPropImpl roomlist_props[] = {
+      { "Server", "conference-server", NULL },
+      { NULL }
+  };
   static TpDBusPropertiesMixinIfaceImpl prop_interfaces[] = {
       { TP_IFACE_CHANNEL,
         tp_dbus_properties_mixin_getter_gobject_properties,
         NULL,
         channel_props,
       },
+      { TP_IFACE_CHANNEL_TYPE_ROOM_LIST,
+        tp_dbus_properties_mixin_getter_gobject_properties,
+        NULL,
+        roomlist_props,
+      },
       { NULL }
   };
   GObjectClass *object_class = G_OBJECT_CLASS (gabble_roomlist_channel_class);
-- 
1.5.6.3




More information about the Telepathy-commits mailing list