[tracker/tracker-0.10] tracker-extract: Use init and shutdown for tracker-locale



commit 017f781633a53a61494e24da7bc40fbab1d23e03
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Apr 5 15:04:27 2011 +0200

    tracker-extract: Use init and shutdown for tracker-locale

 src/tracker-extract/tracker-main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-main.c b/src/tracker-extract/tracker-main.c
index e4eaa98..6c23309 100644
--- a/src/tracker-extract/tracker-main.c
+++ b/src/tracker-extract/tracker-main.c
@@ -46,6 +46,7 @@
 #include <libtracker-common/tracker-dbus.h>
 #include <libtracker-common/tracker-os-dependant.h>
 #include <libtracker-common/tracker-ioprio.h>
+#include <libtracker-common/tracker-locale.h>
 
 #include "tracker-albumart.h"
 #include "tracker-config.h"
@@ -424,6 +425,7 @@ main (int argc, char *argv[])
 
 	g_message ("Waiting for D-Bus requests...");
 
+	tracker_locale_init ();
 	tracker_albumart_init ();
 
 	/* Main loop */
@@ -439,6 +441,7 @@ main (int argc, char *argv[])
 
 	/* Shutdown subsystems */
 	tracker_albumart_shutdown ();
+	tracker_locale_shutdown ();
 
 	tracker_extract_dbus_stop (object);
 	g_object_unref (object);



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