summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-12-16 11:33:43 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-12-21 12:07:02 -0500
commitfdabc9585d4d8616926c4acf09f114f8e00c383b (patch)
tree951827ba8bcaf82b8fd88cf4728d734aa924525f /gtk/gtkmain.c
parent2211e52ec5facb192cd07d06bf8175ed1ba26c2d (diff)
downloadgtk+-fdabc9585d4d8616926c4acf09f114f8e00c383b.tar.gz
Drop g[dt]k_set_locale
These functions were essentially just calling setlocale anyway. The X11 version was also setting a gdk_use_mb variable that is not used anywhere.
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r--gtk/gtkmain.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index dc272600fe..afacd3fb6b 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -1170,37 +1170,6 @@ gtk_init_check_abi_check (int *argc, char ***argv, int num_checks, size_t sizeof
#endif
/**
- * gtk_set_locale:
- *
- * Initializes internationalization support for GTK+. gtk_init()
- * automatically does this, so there is typically no point
- * in calling this function.
- *
- * If you are calling this function because you changed the locale
- * after GTK+ is was initialized, then calling this function
- * may help a bit. (Note, however, that changing the locale
- * after GTK+ is initialized may produce inconsistent results and
- * is not really supported.)
- *
- * In detail - sets the current locale according to the
- * program environment. This is the same as calling the C library function
- * <literal>setlocale (LC_ALL, "")</literal> but also takes care of the
- * locale specific setup of the windowing system used by GDK.
- *
- * Returns: a string corresponding to the locale set, typically in the
- * form lang_COUNTRY, where lang is an ISO-639 language code, and
- * COUNTRY is an ISO-3166 country code. On Unix, this form matches the
- * result of the setlocale(); it is also used on other machines, such as
- * Windows, where the C library returns a different result. The string is
- * owned by GTK+ and should not be modified or freed.
- **/
-gchar *
-gtk_set_locale (void)
-{
- return gdk_set_locale ();
-}
-
-/**
* _gtk_get_lc_ctype:
*
* Return the Unix-style locale string for the language currently in