[Telepathy-commits] [telepathy-gabble/master] Don't claim support for the CallStates interface unless we're actually compiling it (it's effectively #if 0 at the moment)

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


20080509121414-53eee-d9520544a20f28d4248c00752c98ea5002071c37.gz
---
 src/gabble-media-channel.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gabble-media-channel.c b/src/gabble-media-channel.c
index b8b5d2e..a97b2c9 100644
--- a/src/gabble-media-channel.c
+++ b/src/gabble-media-channel.c
@@ -713,7 +713,9 @@ gabble_media_channel_get_interfaces (TpSvcChannel *iface,
                                      DBusGMethodInvocation *context)
 {
   const gchar *interfaces[] = {
+#ifdef WITH_CALL_STATE
       TP_IFACE_CHANNEL_INTERFACE_CALL_STATE,
+#endif
       TP_IFACE_CHANNEL_INTERFACE_GROUP,
       GABBLE_IFACE_CHANNEL_INTERFACE_HOLD,
       TP_IFACE_CHANNEL_INTERFACE_MEDIA_SIGNALLING,
-- 
1.5.6.3




More information about the Telepathy-commits mailing list