[tracker/collation-gconf-locale: 31/31] tracker-miner-applications: Fix compilation when meegotouch enabled



commit 7e14b005ac0ef66522be8598c5d744173119c0c3
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Wed Nov 17 13:55:55 2010 +0100

    tracker-miner-applications: Fix compilation when meegotouch enabled

 src/miners/fs/tracker-miner-applications-meego.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-applications-meego.cpp b/src/miners/fs/tracker-miner-applications-meego.cpp
index 3c16705..30a7af3 100644
--- a/src/miners/fs/tracker-miner-applications-meego.cpp
+++ b/src/miners/fs/tracker-miner-applications-meego.cpp
@@ -52,7 +52,7 @@ tracker_miner_applications_meego_translate (const gchar  *catalogue,
 	locale.installTrCatalog (catalogue);
 	MLocale::setDefault (locale);
 
-	gchar *ret = g_strdup (qtTrId (id). toUtf8 ().data ());
+	gchar *ret = g_strdup (qtTrId (id).toUtf8 ().data ());
 
 	/* We only want the first string of the multi-string, so if
 	 * the separator character is found (encoded as C2:9C in UTF-8),
@@ -71,5 +71,5 @@ tracker_miner_applications_meego_get_locale (void)
 	/* Get the system default locale */
 	MLocale locale;
 
-	return g_strdup (locale.name ().data ());
+	return g_strdup (locale.name ().toAscii ().data ());
 }



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