From 8064e10246b88178dcbc0a0012248a8c17981a83 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Mon, 3 May 2010 21:19:04 +0200 Subject: fixed LC_NUMERIC locale issues --- plugins/gtkui/gtkui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/gtkui/gtkui.c') diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c index 3f74a471..c61a1d31 100644 --- a/plugins/gtkui/gtkui.c +++ b/plugins/gtkui/gtkui.c @@ -692,7 +692,6 @@ gtkui_thread (void *ctx) { add_pixmap_directory (PREFIX "/share/deadbeef/pixmaps"); gdk_threads_init (); gdk_threads_enter (); - gtk_set_locale (); int argc = 2; const char **argv = alloca (sizeof (char *) * argc); @@ -701,6 +700,7 @@ gtkui_thread (void *ctx) { if (!deadbeef->conf_get_int ("gtkui.sync", 0)) { argc = 1; } + gtk_disable_setlocale (); gtk_init (&argc, (char ***)&argv); // system tray icon -- cgit v1.2.3