[maemo-commits] [maemo-commits] r10328 - projects/haf/trunk/libosso/src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Mar 2 15:50:42 EET 2007
Author: schulhof
Date: 2007-03-02 15:50:42 +0200 (Fri, 02 Mar 2007)
New Revision: 10328

Modified:
   projects/haf/trunk/libosso/src/libosso.h
Log:
Added #include statements to the locale change example


Modified: projects/haf/trunk/libosso/src/libosso.h
===================================================================
--- projects/haf/trunk/libosso/src/libosso.h	2007-03-02 13:47:41 UTC (rev 10327)
+++ projects/haf/trunk/libosso/src/libosso.h	2007-03-02 13:50:42 UTC (rev 10328)
@@ -855,6 +855,10 @@
  * function. It correctly passes the received locale value to gettext
  * and updates the labels for all the text widgets in the application.
  * @code
+#include <libintl.h>
+#include <locale.h>
+#include <glib.h>
+
 static void locale_changed_cb (char *new_locale, gpointer user_data)
 {
   GtkWidget *my_label = GTK_WIDGET (user_data);


More information about the maemo-commits mailing list