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:
		| @ -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"))) | ||||
|     { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Tim Janik
					Tim Janik