]> Pileus Git - ~andy/gtk/blobdiff - gdk/x11/gdkim-x11.c
remove unconditional warnings about missing X locale support. Gdk properly
[~andy/gtk] / gdk / x11 / gdkim-x11.c
index 0ee7356531530ded634d775fb90d80a68acdde08..028befb4d8af73f4454bce4621a421547f9561d0 100644 (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")))
     {