diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-03-15 06:13:37 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-03-15 06:23:34 +0800 |
commit | aa394ce82e640770ca40e0d34c5b838c04d569fc (patch) | |
tree | 7ffca474746162734b363037c26f3916aad1905d /e-util | |
parent | f9807e7849abbfd050f6ee8161a1732d91ef5b74 (diff) | |
download | gsoc2013-evolution-aa394ce82e640770ca40e0d34c5b838c04d569fc.tar gsoc2013-evolution-aa394ce82e640770ca40e0d34c5b838c04d569fc.tar.gz gsoc2013-evolution-aa394ce82e640770ca40e0d34c5b838c04d569fc.tar.bz2 gsoc2013-evolution-aa394ce82e640770ca40e0d34c5b838c04d569fc.tar.lz gsoc2013-evolution-aa394ce82e640770ca40e0d34c5b838c04d569fc.tar.xz gsoc2013-evolution-aa394ce82e640770ca40e0d34c5b838c04d569fc.tar.zst gsoc2013-evolution-aa394ce82e640770ca40e0d34c5b838c04d569fc.zip |
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!"
Diffstat (limited to 'e-util')
-rw-r--r-- | 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 1ad92b605b..4b48db875a 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); } } |