Revert "Set the timeout about sending dbus message" 55/149755/3
authorJunghoon Park <jh9216.park@samsung.com>
Wed, 19 Jul 2017 02:59:40 +0000 (02:59 +0000)
committerHwanKyu Jhun <h.jhun@samsung.com>
Thu, 21 Sep 2017 11:57:42 +0000 (11:57 +0000)
This reverts commit f89881791650cb49f4bcc68717f9c3f32420e597.

Change-Id: I211ec0e7b9842689e7449de5585231b24ab125d0

src/aul_window.c

index 8cfff69..068d3d0 100644 (file)
@@ -85,7 +85,7 @@ API int aul_window_stack_get(aul_window_stack_h *handle)
        }
 
        reply = g_dbus_connection_send_message_with_reply_sync(system_conn, msg,
-                       G_DBUS_SEND_MESSAGE_FLAGS_NONE, 5000, NULL, NULL, &err);
+                       G_DBUS_SEND_MESSAGE_FLAGS_NONE, -1, NULL, NULL, &err);
 
        if (!reply) {
                if (err != NULL) {
@@ -304,7 +304,7 @@ API int aul_window_get_focused_pid(pid_t *pid)
        }
 
        reply = g_dbus_connection_send_message_with_reply_sync(system_conn, msg,
-                       G_DBUS_SEND_MESSAGE_FLAGS_NONE, 5000, NULL, NULL, &err);
+                       G_DBUS_SEND_MESSAGE_FLAGS_NONE, -1, NULL, NULL, &err);
 
        if (!reply) {
                if (err != NULL) {