[evolution] client_cache_process_results: Fix runtime warnings.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] client_cache_process_results: Fix runtime warnings.
- Date: Thu, 14 Mar 2013 22:23:06 +0000 (UTC)
commit aa394ce82e640770ca40e0d34c5b838c04d569fc
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Mar 14 18:13:37 2013 -0400
client_cache_process_results: Fix runtime warnings.
Use g_simple_async_result_complete_in_idle() so the queued results
complete in the correct main loop context. Otherwise we get runtime
warnings:
"g_simple_async_result_complete() called from wrong context!"
e-util/e-client-cache.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-client-cache.c b/e-util/e-client-cache.c
index 1ad92b6..4b48db8 100644
--- a/e-util/e-client-cache.c
+++ b/e-util/e-client-cache.c
@@ -577,7 +577,7 @@ client_cache_process_results (ClientData *client_data,
(GDestroyNotify) g_object_unref);
if (error != NULL)
g_simple_async_result_set_from_error (simple, error);
- g_simple_async_result_complete (simple);
+ g_simple_async_result_complete_in_idle (simple);
g_object_unref (simple);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]