[Telepathy-commits] [telepathy-gabble/master] media-channel.c:contact_is_media_capable: fix errors when compiling without DEBUG
Senko Rasic
senko.rasic at collabora.co.uk
Mon Dec 1 10:55:20 PST 2008
---
src/media-channel.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/media-channel.c b/src/media-channel.c
index c3b42a7..387950d 100644
--- a/src/media-channel.c
+++ b/src/media-channel.c
@@ -1520,10 +1520,12 @@ contact_is_media_capable (GabbleMediaChannel *chan, TpHandle peer)
{
GabbleMediaChannelPrivate *priv = GABBLE_MEDIA_CHANNEL_GET_PRIVATE (chan);
GabblePresence *presence;
+ GabblePresenceCapabilities caps;
+#ifdef ENABLE_DEBUG
TpBaseConnection *conn = (TpBaseConnection *) priv->conn;
TpHandleRepoIface *contact_handles = tp_base_connection_get_handles (
conn, TP_HANDLE_TYPE_CONTACT);
- GabblePresenceCapabilities caps;
+#endif
caps = PRESENCE_CAP_GOOGLE_VOICE | PRESENCE_CAP_JINGLE_RTP |
PRESENCE_CAP_JINGLE_DESCRIPTION_AUDIO | PRESENCE_CAP_JINGLE_DESCRIPTION_VIDEO;
--
1.5.6.5
More information about the Telepathy-commits
mailing list