diff options
author | Ted Gould <ted@ubuntu.com> | 2016-09-04 19:44:35 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-09-04 19:44:35 +0200 |
commit | ef0f6dc14af2bff2f1bd5108bb5e0aea0760bb4e (patch) | |
tree | 96517b925799798476479c466fdd96c59668eb90 | |
parent | f9d2b4a70b8fd11a5c1d399ce8f4d50ea60e7fbc (diff) |
Ensure the log mainloop uses the current thread's context when waiting
https://bugs.freedesktop.org/show_bug.cgi?id=95549
-rw-r--r-- | libzeitgeist/log.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libzeitgeist/log.vala b/libzeitgeist/log.vala index 100f0cc6..67293818 100644 --- a/libzeitgeist/log.vala +++ b/libzeitgeist/log.vala @@ -86,7 +86,7 @@ public class Log : QueuedProxyWrapper public Log () { monitors = new HashTable<Monitor, uint> (direct_hash, direct_equal); - MainLoop mainloop = new MainLoop(); + MainLoop mainloop = new MainLoop (MainContext.get_thread_default ()); allow_direct_read = Utils.log_may_read_directly (); Bus.get_proxy.begin<RemoteLog> (BusType.SESSION, Utils.ENGINE_DBUS_NAME, |