[tracker/gconf-dbus: 11/15] libtracker-common: Remove false comments about mainloop



commit 6e2b511f2acb94309b4926239d37728715d65e53
Author: Philip Van Hoof <philip codeminded be>
Date:   Mon Apr 4 15:04:27 2011 +0200

    libtracker-common: Remove false comments about mainloop

 src/libtracker-common/tracker-locale-gconfdbus.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/libtracker-common/tracker-locale-gconfdbus.c b/src/libtracker-common/tracker-locale-gconfdbus.c
index b70fef9..4d75bb7 100644
--- a/src/libtracker-common/tracker-locale-gconfdbus.c
+++ b/src/libtracker-common/tracker-locale-gconfdbus.c
@@ -125,8 +125,6 @@ handle_method_call (GDBusConnection       *connection,
                     GDBusMethodInvocation *invocation,
                     gpointer               user_data)
 {
-	/* Takes place in mainloop */
-
 	if (g_strcmp0 (method_name, "Notify") == 0) {
 		const gchar *key = NULL, *value = NULL;
 		const gchar *schema = NULL, *database = NULL;
@@ -164,10 +162,6 @@ handle_method_call (GDBusConnection       *connection,
 				return;
 			}
 
-			/* This always runs from mainloop, so no need for a lock other than
-			 * subscribers, which might be added and removed by threads (and are
-			 * here executed by function pointer on the mainloop) */
-
 			tracker_locale_set (i, value);
 
 			g_static_mutex_lock (&subscribers_mutex);



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