[tracker/gconf-dbus-2] libtracker-common: Remove all pop_thread_default occurrences



commit 6bc9872a426b9305eca90dfa0977fcbebb251cb7
Author: Philip Van Hoof <philip codeminded be>
Date:   Thu Apr 7 12:56:03 2011 +0200

    libtracker-common: Remove all pop_thread_default occurrences

 src/libtracker-common/tracker-locale-gconfdbus.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/libtracker-common/tracker-locale-gconfdbus.c b/src/libtracker-common/tracker-locale-gconfdbus.c
index 803b57d..6db594c 100644
--- a/src/libtracker-common/tracker-locale-gconfdbus.c
+++ b/src/libtracker-common/tracker-locale-gconfdbus.c
@@ -310,7 +310,6 @@ tracker_locale_gconfdbus_init (void)
 		connection = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, &error);
 
 		if (error) {
-			g_main_context_pop_thread_default (NULL);
 			g_warning ("%s", error->message);
 			g_clear_error (&error);
 			return;
@@ -340,10 +339,8 @@ tracker_locale_gconfdbus_init (void)
 				g_object_unref (connection);
 				connection = NULL;
 				maemo_mode = FALSE;
-				g_main_context_pop_thread_default (NULL);
 				return;
 			} else {
-				g_main_context_pop_thread_default (NULL);
 				g_critical ("%s", error->message);
 				g_clear_error (&error);
 				return;
@@ -357,7 +354,6 @@ tracker_locale_gconfdbus_init (void)
 		introspection_data = g_dbus_node_info_new_for_xml (introspection_xml, &error);
 
 		if (error) {
-			g_main_context_pop_thread_default (NULL);
 			g_critical ("%s", error->message);
 			g_clear_error (&error);
 			return;
@@ -375,7 +371,6 @@ tracker_locale_gconfdbus_init (void)
 		if (error) {
 			g_critical ("%s", error->message);
 			g_clear_error (&error);
-			g_main_context_pop_thread_default (NULL);
 			return;
 		}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]