[evolution-data-server/gnome-3-2] Revert "gdbus_proxy_call_sync: stop using g_usleep()"
- From: Christophe Dumez <cdumez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-2] Revert "gdbus_proxy_call_sync: stop using g_usleep()"
- Date: Tue, 11 Oct 2011 07:52:25 +0000 (UTC)
commit 64181e70c3fbc005f2f6a0de09b022c275efc65e
Author: Christophe Dumez <christophe dumez intel com>
Date: Tue Oct 11 10:52:11 2011 +0300
Revert "gdbus_proxy_call_sync: stop using g_usleep()"
This reverts commit 617af365f053c31118e253c831694459867318b8.
libedataserver/e-gdbus-templates.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libedataserver/e-gdbus-templates.c b/libedataserver/e-gdbus-templates.c
index b420d99..973fa8c 100644
--- a/libedataserver/e-gdbus-templates.c
+++ b/libedataserver/e-gdbus-templates.c
@@ -1438,7 +1438,8 @@ gdbus_proxy_call_sync (GDBusProxy *proxy,
* from the main thread, then there is probably no other option.
*/
while (!e_flag_is_set (sync_data.flag)) {
- g_main_context_iteration (NULL, TRUE);
+ g_usleep (1000);
+ g_main_context_iteration (NULL, FALSE);
}
} else {
/* is called in a dedicated thread */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]