From 6c05efa268c80947060929dc8fe6f2d4cd7d5a15 Mon Sep 17 00:00:00 2001 From: Dario Freddi Date: Mon, 27 Aug 2012 19:28:24 +0200 Subject: glib: Disable tp_tests_connection_run_until_contact_by_id to avoid requiring 0.19.x --- tests/lib/glib/util.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/lib') 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 -- cgit v1.2.3