Revert "Set the timeout about sending dbus message" 34/139434/1
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 19 Jul 2017 03:00:31 +0000 (12:00 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 19 Jul 2017 03:00:59 +0000 (12:00 +0900)
This reverts commit 7a69715bf1e849b8d95c85755037502488020a26.

Change-Id: I5bd88fdbc5e7efb3fa57cf72eea3c2ef0505a011

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) {