diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-12-16 11:33:43 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-12-21 12:07:02 -0500 |
commit | fdabc9585d4d8616926c4acf09f114f8e00c383b (patch) | |
tree | 951827ba8bcaf82b8fd88cf4728d734aa924525f /gdk/gdkmain.h | |
parent | 2211e52ec5facb192cd07d06bf8175ed1ba26c2d (diff) | |
download | gtk+-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 'gdk/gdkmain.h')
-rw-r--r-- | gdk/gdkmain.h | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/gdk/gdkmain.h b/gdk/gdkmain.h index b9915a3bcf..28b587791c 100644 --- a/gdk/gdkmain.h +++ b/gdk/gdkmain.h @@ -50,29 +50,7 @@ gboolean gdk_init_check (gint *argc, void gdk_add_option_entries_libgtk_only (GOptionGroup *group); void gdk_pre_parse_libgtk_only (void); -/** - * gdk_set_locale: - * - * Initializes the support for internationalization by calling the <function>setlocale()</function> - * system call. This function is called by gtk_set_locale() and so GTK+ - * applications should use that instead. - * - * The locale to use is determined by the <envar>LANG</envar> environment variable, - * so to run an application in a certain locale you can do something like this: - * <informalexample> - * <programlisting> - * export LANG="fr" - * ... run application ... - * </programlisting> - * </informalexample> - * - * If the locale is not supported by X then it is reset to the standard "C" - * locale. - * - * Returns: the resulting locale. - */ -gchar* gdk_set_locale (void); -void gdk_disable_multidevice (void); +void gdk_enable_multidevice (void); G_CONST_RETURN gchar *gdk_get_program_class (void); void gdk_set_program_class (const gchar *program_class); |