fixed documentation.

2003-02-24  Sven Neumann  <sven@gimp.org>

	* gtk/gtkmain.c (gtk_get_default_language): fixed documentation.
This commit is contained in:
Sven Neumann 2003-02-24 20:25:30 +00:00 committed by Sven Neumann
parent d2e91a53da
commit 3e1a690c4f
6 changed files with 24 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2003-02-24 Sven Neumann <sven@gimp.org>
* gtk/gtkmain.c (gtk_get_default_language): fixed documentation.
2003-02-21 Tomas Ogren <stric@ing.umu.se> 2003-02-21 Tomas Ogren <stric@ing.umu.se>
* docs/reference/gtk/tmpl/gtktreemodel.sgml: Fix typos in an example * docs/reference/gtk/tmpl/gtktreemodel.sgml: Fix typos in an example

View File

@ -1,3 +1,7 @@
2003-02-24 Sven Neumann <sven@gimp.org>
* gtk/gtkmain.c (gtk_get_default_language): fixed documentation.
2003-02-21 Tomas Ogren <stric@ing.umu.se> 2003-02-21 Tomas Ogren <stric@ing.umu.se>
* docs/reference/gtk/tmpl/gtktreemodel.sgml: Fix typos in an example * docs/reference/gtk/tmpl/gtktreemodel.sgml: Fix typos in an example

View File

@ -1,3 +1,7 @@
2003-02-24 Sven Neumann <sven@gimp.org>
* gtk/gtkmain.c (gtk_get_default_language): fixed documentation.
2003-02-21 Tomas Ogren <stric@ing.umu.se> 2003-02-21 Tomas Ogren <stric@ing.umu.se>
* docs/reference/gtk/tmpl/gtktreemodel.sgml: Fix typos in an example * docs/reference/gtk/tmpl/gtktreemodel.sgml: Fix typos in an example

View File

@ -1,3 +1,7 @@
2003-02-24 Sven Neumann <sven@gimp.org>
* gtk/gtkmain.c (gtk_get_default_language): fixed documentation.
2003-02-21 Tomas Ogren <stric@ing.umu.se> 2003-02-21 Tomas Ogren <stric@ing.umu.se>
* docs/reference/gtk/tmpl/gtktreemodel.sgml: Fix typos in an example * docs/reference/gtk/tmpl/gtktreemodel.sgml: Fix typos in an example

View File

@ -1,3 +1,7 @@
2003-02-24 Sven Neumann <sven@gimp.org>
* gtk/gtkmain.c (gtk_get_default_language): fixed documentation.
2003-02-21 Tomas Ogren <stric@ing.umu.se> 2003-02-21 Tomas Ogren <stric@ing.umu.se>
* docs/reference/gtk/tmpl/gtktreemodel.sgml: Fix typos in an example * docs/reference/gtk/tmpl/gtktreemodel.sgml: Fix typos in an example

View File

@ -992,7 +992,7 @@ gtk_exit (gint errorcode)
* Return value: a string corresponding to the locale set, as with the * Return value: a string corresponding to the locale set, as with the
* C library function <function>setlocale()</function>. * C library function <function>setlocale()</function>.
**/ **/
gchar* gchar *
gtk_set_locale (void) gtk_set_locale (void)
{ {
return gdk_set_locale (); return gdk_set_locale ();
@ -1001,13 +1001,14 @@ gtk_set_locale (void)
/** /**
* gtk_get_default_language: * 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 * effect. (Note that this can change over the life of an
* application.) The default language is derived from the current * application.) The default language is derived from the current
* locale. It determines, for example, whether GTK+ uses the * locale. It determines, for example, whether GTK+ uses the
* right-to-left or left-to-right text direction. * 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 * PangoLanguage *
gtk_get_default_language (void) gtk_get_default_language (void)