summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2012-02-02 15:48:13 -0500
committerJonny Lamb <jonny.lamb@collabora.co.uk>2012-02-02 15:48:13 -0500
commit916303c71495e4b50915915b50ed9648833b0085 (patch)
tree2126b102d3c042a2a8667af4a6026ebd72586438
parent097e99f28f54fb4ec5a42a1059c49ef9b3a49a33 (diff)
examples: #ifdef out Call stuff
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--examples/client/approver.c5
-rw-r--r--examples/client/media-observer.c8
2 files changed, 7 insertions, 6 deletions
diff --git a/examples/client/approver.c b/examples/client/approver.c
index bef77db45..2f8258cd1 100644
--- a/examples/client/approver.c
+++ b/examples/client/approver.c
@@ -169,14 +169,15 @@ main (int argc,
TP_HANDLE_TYPE_CONTACT,
NULL));
- /* call
+#ifdef FIXME_REINSTATE_WHEN_CALL_IS_STABLE
+ /* call */
tp_base_client_take_approver_filter (approver, tp_asv_new (
TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING,
TP_IFACE_CHANNEL_TYPE_CALL,
TP_PROP_CHANNEL_TARGET_HANDLE_TYPE, G_TYPE_UINT,
TP_HANDLE_TYPE_CONTACT,
NULL));
- */
+#endif
/* room text chat */
tp_base_client_take_approver_filter (approver, tp_asv_new (
diff --git a/examples/client/media-observer.c b/examples/client/media-observer.c
index a524924e2..c1f52edce 100644
--- a/examples/client/media-observer.c
+++ b/examples/client/media-observer.c
@@ -53,11 +53,11 @@ observe_channels_cb (TpSimpleObserver *self,
GHashTable *props;
gboolean requested;
- /*
+#ifdef FIXME_REINSTATE_WHEN_CALL_IS_STABLE
if (tp_strdiff (tp_channel_get_channel_type (channel),
TP_IFACE_CHANNEL_TYPE_CALL))
continue;
- */
+#endif
props = tp_channel_borrow_immutable_properties (channel);
requested = tp_asv_get_boolean (props, TP_PROP_CHANNEL_REQUESTED, NULL);
@@ -91,14 +91,14 @@ main (int argc,
observer = tp_simple_observer_new_with_am (manager, FALSE,
"ExampleMediaObserver", FALSE, observe_channels_cb, NULL, NULL);
- /*
+#ifdef FIXME_REINSTATE_WHEN_CALL_IS_STABLE
tp_base_client_take_observer_filter (observer, tp_asv_new (
TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING,
TP_IFACE_CHANNEL_TYPE_CALL,
TP_PROP_CHANNEL_TARGET_HANDLE_TYPE, G_TYPE_UINT,
TP_HANDLE_TYPE_CONTACT,
NULL));
- */
+#endif
if (!tp_base_client_register (observer, &error))
{