mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
remove unconditional warnings about missing X locale support. Gdk properly
Thu Feb 23 13:28:21 2006 Tim Janik <timj@imendio.com> * gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale): remove unconditional warnings about missing X locale support. Gdk properly handles this situation anyway.
This commit is contained in:
parent
0ffd8a84cb
commit
a941deb67f
@ -1,3 +1,9 @@
|
|||||||
|
Thu Feb 23 13:28:21 2006 Tim Janik <timj@imendio.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale): remove unconditional
|
||||||
|
warnings about missing X locale support. Gdk properly handles this
|
||||||
|
situation anyway.
|
||||||
|
|
||||||
Fri Feb 17 14:20:29 2006 Tim Janik <timj@imendio.com>
|
Fri Feb 17 14:20:29 2006 Tim Janik <timj@imendio.com>
|
||||||
|
|
||||||
* gtk/gtktreemodel.h:
|
* gtk/gtktreemodel.h:
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Thu Feb 23 13:28:21 2006 Tim Janik <timj@imendio.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale): remove unconditional
|
||||||
|
warnings about missing X locale support. Gdk properly handles this
|
||||||
|
situation anyway.
|
||||||
|
|
||||||
Fri Feb 17 14:20:29 2006 Tim Janik <timj@imendio.com>
|
Fri Feb 17 14:20:29 2006 Tim Janik <timj@imendio.com>
|
||||||
|
|
||||||
* gtk/gtktreemodel.h:
|
* gtk/gtktreemodel.h:
|
||||||
|
@ -62,11 +62,8 @@ _gdk_x11_initialize_locale (void)
|
|||||||
g_free (last_locale);
|
g_free (last_locale);
|
||||||
last_locale = g_strdup (current_locale);
|
last_locale = g_strdup (current_locale);
|
||||||
|
|
||||||
if (!XSupportsLocale ())
|
if (XSupportsLocale ())
|
||||||
g_warning ("locale not supported by Xlib");
|
XSetLocaleModifiers ("");
|
||||||
|
|
||||||
if (!XSetLocaleModifiers (""))
|
|
||||||
g_warning ("cannot set locale modifiers");
|
|
||||||
|
|
||||||
if ((strcmp (current_locale, "C")) && (strcmp (current_locale, "POSIX")))
|
if ((strcmp (current_locale, "C")) && (strcmp (current_locale, "POSIX")))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user