From: Jonghwa Lee Date: Thu, 8 Sep 2016 04:30:39 +0000 (+0900) Subject: gkdbus: Fix wrong return value of _g_kdbus_quit_loop() X-Git-Tag: accepted/tizen/common/20160908.134701^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F41%2F87441%2F1;p=platform%2Fupstream%2Fglib.git gkdbus: Fix wrong return value of _g_kdbus_quit_loop() _g_kdbus_quit_loop() which is used as a callback function in g_main_context_invoke() always return 'TRUE'. This is not correct. Returnning 'TRUE' means its functionality isn't completed. And it results infinite loop time to time. This patch fixes the function's return value correctly. Change-Id: I08ea4c3a7c294774163c63983b48b458aa1d5c43 Signed-off-by: Jonghwa Lee --- diff --git a/gio/gkdbus.c b/gio/gkdbus.c index 00ee755..c154287 100755 --- a/gio/gkdbus.c +++ b/gio/gkdbus.c @@ -584,7 +584,7 @@ static gboolean _g_kdbus_quit_loop (gpointer loop) { g_main_loop_quit ((GMainLoop*)loop); - return TRUE; + return FALSE; } /*