telepathy-qt: glib: Disable tp_tests_connection_run_until_contact_by_id to avoid requiring 0. 19.x

Dario Freddi drf at kemper.freedesktop.org
Mon Aug 27 10:39:43 PDT 2012


Module: telepathy-qt
Branch: master
Commit: 6c05efa268c80947060929dc8fe6f2d4cd7d5a15
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=6c05efa268c80947060929dc8fe6f2d4cd7d5a15

Author: Dario Freddi <dario.freddi at collabora.com>
Date:   Mon Aug 27 19:28:24 2012 +0200

glib: Disable tp_tests_connection_run_until_contact_by_id to avoid requiring 0.19.x

---

 tests/lib/glib/util.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/tests/lib/glib/util.c b/tests/lib/glib/util.c
index 21d3855..f0bcd96 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



More information about the telepathy-commits mailing list