[tracker/gconf-dbus-2: 2/2] libtracker-common: Do not push thread-default context in gconfdbus
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gconf-dbus-2: 2/2] libtracker-common: Do not push thread-default context in gconfdbus
- Date: Thu, 7 Apr 2011 10:47:10 +0000 (UTC)
commit a414db15549bed7425c6f41cd042ccee6d68e7e5
Author: Jürg Billeter <j bitron ch>
Date: Thu Apr 7 12:45:15 2011 +0200
libtracker-common: Do not push thread-default context in gconfdbus
We cannot always push the global default context as a thread-default
context. The previous commit makes sure that the thread-default context
is always set to the global default context.
src/libtracker-common/tracker-locale-gconfdbus.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/libtracker-common/tracker-locale-gconfdbus.c b/src/libtracker-common/tracker-locale-gconfdbus.c
index 43aeb32..803b57d 100644
--- a/src/libtracker-common/tracker-locale-gconfdbus.c
+++ b/src/libtracker-common/tracker-locale-gconfdbus.c
@@ -307,11 +307,6 @@ tracker_locale_gconfdbus_init (void)
g_message ("Retrieving locale from GConf is ENABLED");
- /* We want to use this connection globally, so make sure it uses the
- * default mainloop */
-
- g_main_context_push_thread_default (NULL);
-
connection = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, &error);
if (error) {
@@ -406,8 +401,6 @@ tracker_locale_gconfdbus_init (void)
g_free (str);
}
}
-
- g_main_context_pop_thread_default (NULL);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]