summaryrefslogtreecommitdiff
path: root/plugins/gtkui/gtkui.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-05-03 21:19:04 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-05-03 21:19:04 +0200
commit8064e10246b88178dcbc0a0012248a8c17981a83 (patch)
tree33d805d027f4bec3410aef5c291cf99cebda79a4 /plugins/gtkui/gtkui.c
parent190d8250cdd26126eae99daf360c318d25516906 (diff)
fixed LC_NUMERIC locale issues
Diffstat (limited to 'plugins/gtkui/gtkui.c')
-rw-r--r--plugins/gtkui/gtkui.c2
1 files changed, 1 insertions, 1 deletions
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