Merge pull request #3994 from mshabunin:fix-gtk-crash

pull/4006/head
Vadim Pisarevsky 10 years ago
commit 5de9d8e6e1
  1. 2
      modules/highgui/src/window_gtk.cpp

@ -577,8 +577,8 @@ CV_IMPL int cvInitSystem( int argc, char** argv )
{
hg_windows = 0;
gtk_disable_setlocale();
gtk_init( &argc, &argv );
setlocale(LC_NUMERIC,"C");
#ifdef HAVE_OPENGL
gtk_gl_init(&argc, &argv);

Loading…
Cancel
Save