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

@ -62,11 +62,8 @@ _gdk_x11_initialize_locale (void)
g_free (last_locale);
last_locale = g_strdup (current_locale);
if (!XSupportsLocale ())
g_warning ("locale not supported by Xlib");
if (!XSetLocaleModifiers (""))
g_warning ("cannot set locale modifiers");
if (XSupportsLocale ())
XSetLocaleModifiers ("");
if ((strcmp (current_locale, "C")) && (strcmp (current_locale, "POSIX")))
{