diff options
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r-- | gtk/gtkmain.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index 37eb587fc..a6d5c1975 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -458,7 +458,10 @@ gtk_init_check (int *argc, #endif if (do_setlocale) - setlocale (LC_ALL, ""); + { + if (!setlocale (LC_ALL, "")) + g_warning ("Locale not supported by C library.\n\tUsing the fallback 'C' locale."); + } /* Initialize "gdk". We pass along the 'argc' and 'argv' * parameters as they contain information that GDK uses |