summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authorDario Freddi <dario.freddi@collabora.com>2012-08-27 19:28:24 +0200
committerDario Freddi <dario.freddi@collabora.com>2012-08-27 19:28:24 +0200
commit6c05efa268c80947060929dc8fe6f2d4cd7d5a15 (patch)
tree0df41862112f36acde0c3edae4eca74968775452 /tests/lib
parentae725534b1c8df44d2a0005764618f79475c7615 (diff)
glib: Disable tp_tests_connection_run_until_contact_by_id to avoid requiring 0.19.x
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/glib/util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/glib/util.c b/tests/lib/glib/util.c
index 21d38550..f0bcd967 100644
--- a/tests/lib/glib/util.c
+++ b/tests/lib/glib/util.c
@@ -431,6 +431,9 @@ tp_tests_connection_assert_disconnect_succeeds (TpConnection *connection)
g_object_unref (result);
}
+/* The following blocks require tp-glib 0.19 to compile. However, tp_tests_connection_run_until_contact_by_id
+ is never used in our code, so we simply disable its compilation. */
+#if 0
static void
one_contact_cb (GObject *object,
GAsyncResult *result,
@@ -463,3 +466,4 @@ tp_tests_connection_run_until_contact_by_id (TpConnection *connection,
return contact;
}
+#endif