From 7c03b301c12dee0d0d2f576ddb5db335566b161c Mon Sep 17 00:00:00 2001 From: Alexander Shishkov Date: Thu, 9 Feb 2012 10:53:16 +0000 Subject: [PATCH] fixed #927 issue --- modules/highgui/src/window_gtk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/highgui/src/window_gtk.cpp b/modules/highgui/src/window_gtk.cpp index 152bc07e46..9d873a8cad 100644 --- a/modules/highgui/src/window_gtk.cpp +++ b/modules/highgui/src/window_gtk.cpp @@ -464,8 +464,8 @@ CV_IMPL int cvInitSystem( int argc, char** argv ) { hg_windows = 0; + gtk_disable_setlocale(); gtk_init( &argc, &argv ); - setlocale(LC_NUMERIC, "en_US.utf8"); #ifdef HAVE_OPENGL gtk_gl_init(&argc, &argv);