[maemo-commits] [maemo-commits] r10330 - in projects/haf/trunk/libosso: debian src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Mar 2 16:03:22 EET 2007
Author: kihamala
Date: 2007-03-02 16:03:22 +0200 (Fri, 02 Mar 2007)
New Revision: 10330

Modified:
   projects/haf/trunk/libosso/debian/changelog
   projects/haf/trunk/libosso/src/libosso.h
Log:
fixed the example code and added changelog


Modified: projects/haf/trunk/libosso/debian/changelog
===================================================================
--- projects/haf/trunk/libosso/debian/changelog	2007-03-02 13:54:16 UTC (rev 10329)
+++ projects/haf/trunk/libosso/debian/changelog	2007-03-02 14:03:22 UTC (rev 10330)
@@ -1,3 +1,10 @@
+libosso (2.2-1) unstable; urgency=low
+
+  * UNRELEASED
+  * New API from Gabriel for detecting language change.
+
+ -- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>  Fri, 02 Mar 2007 15:54:17 +0200
+
 libosso (2.1-1) unstable; urgency=low
 
   * Removed deprecated API: osso_application_exit_cb type,

Modified: projects/haf/trunk/libosso/src/libosso.h
===================================================================
--- projects/haf/trunk/libosso/src/libosso.h	2007-03-02 13:54:16 UTC (rev 10329)
+++ projects/haf/trunk/libosso/src/libosso.h	2007-03-02 14:03:22 UTC (rev 10330)
@@ -864,9 +864,7 @@
   GtkWidget *my_label = GTK_WIDGET (user_data);
 
   g_setenv ("LANG", new_locale, TRUE);
-  setlocale (LC_ALL, "");
   setlocale (LC_MESSAGES, new_locale);
-  setlocale (LC_TIME, new_locale);
 
   // Here you re-set the text labels for all your widgets. In this example
   // only one widget is passed into the callback via user_data.


More information about the maemo-commits mailing list