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:
Tim Janik 2006-02-24 12:28:33 +00:00 committed by Tim Janik
parent 0ffd8a84cb
commit a941deb67f
3 changed files with 14 additions and 5 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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")))
{ {