summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.c
diff options
context:
space:
mode:
authorSven Neumann <sven@gimp.org>2003-02-24 20:25:30 +0000
committerSven Neumann <neo@src.gnome.org>2003-02-24 20:25:30 +0000
commit3e1a690c4fa7dd5b72b40dbe7135b40020064a54 (patch)
tree7f3c5cb8fdf5e6f9371e1ee1da192c1ba03afbe4 /gtk/gtkmain.c
parentd2e91a53da3dfc6a4be7768b531ce3f906fb3495 (diff)
downloadgdk-pixbuf-3e1a690c4fa7dd5b72b40dbe7135b40020064a54.tar.gz
fixed documentation.
2003-02-24 Sven Neumann <sven@gimp.org> * gtk/gtkmain.c (gtk_get_default_language): fixed documentation.
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r--gtk/gtkmain.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index d124e3077..02e236140 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -992,7 +992,7 @@ gtk_exit (gint errorcode)
* Return value: a string corresponding to the locale set, as with the
* C library function <function>setlocale()</function>.
**/
-gchar*
+gchar *
gtk_set_locale (void)
{
return gdk_set_locale ();
@@ -1001,13 +1001,14 @@ gtk_set_locale (void)
/**
* gtk_get_default_language:
*
- * Returns the ISO language code for the default language currently in
+ * Returns the #PangoLanguage for the default language currently in
* effect. (Note that this can change over the life of an
* application.) The default language is derived from the current
* locale. It determines, for example, whether GTK+ uses the
* right-to-left or left-to-right text direction.
*
- * Return value: the default language as an allocated string, must be freed
+ * Return value: the default language as a #PangoLanguage, must not be
+ * freed
**/
PangoLanguage *
gtk_get_default_language (void)