[kdbus][TEMPORARY HACK] Disable 'initial read'
authorLukasz Skalski <l.skalski@samsung.com>
Mon, 20 Oct 2014 16:05:34 +0000 (16:05 +0000)
committerMaciej Wereski <m.wereski@partner.samsung.com>
Fri, 10 Jul 2015 09:47:43 +0000 (11:47 +0200)
This patch allows perform new API test [1] without errors.
'initial_read' should be disabled till old patches from
Tizen repo [2] will be applied in this GitHub repository.

[1] https://github.com/lukasz-skalski/glib-kdbus-tests
[2] https://review.tizen.org/git/?p=platform/upstream/glib.git;a=shortlog;h=refs/heads/kdbus-integration

gio/gdbusprivate.c

index 870e160..924d833 100644 (file)
@@ -877,7 +877,7 @@ _g_dbus_worker_do_initial_read (gpointer data)
 {
   GDBusWorker *worker = data;
   g_mutex_lock (&worker->read_lock);
-  _g_dbus_worker_do_read_unlocked (worker);
+  //_g_dbus_worker_do_read_unlocked (worker); TEMPORARY HACK!
   g_mutex_unlock (&worker->read_lock);
   return FALSE;
 }