[tracker/collation-gconf-locale] fixup



commit db9a64abb11a5d0e58efb5bd1e0a1ac8b85f796b
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Thu Oct 28 17:29:23 2010 +0200

    fixup

 src/libtracker-data/tracker-db-interface-sqlite.c |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/src/libtracker-data/tracker-db-interface-sqlite.c b/src/libtracker-data/tracker-db-interface-sqlite.c
index 879057d..3673663 100644
--- a/src/libtracker-data/tracker-db-interface-sqlite.c
+++ b/src/libtracker-data/tracker-db-interface-sqlite.c
@@ -560,12 +560,11 @@ open_database (TrackerDBInterface *db_interface)
 
 	/* Set our unicode collation function */
 	tracker_db_interface_sqlite_reset_collator (db_interface);
-	/* /\* And register for updates on locale changes *\/ */
-	/* db_interface->locale_notification_id = tracker_locale_notify_add (TRACKER_LOCALE_COLLATE, */
-	/*                                                                   tracker_locale_notify_cb, */
-	/*                                                                   db_interface, */
-	/*                                                                   NULL); */
-
+	/* And register for updates on locale changes */
+	db_interface->locale_notification_id = tracker_locale_notify_add (TRACKER_LOCALE_COLLATE,
+	                                                                  tracker_locale_notify_cb,
+	                                                                  db_interface,
+	                                                                  NULL);
 
 	sqlite3_progress_handler (db_interface->db, 100,
 	                          check_interrupt, db_interface);



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