CtrlCore: g_thread_init issue #624

git-svn-id: svn://ultimatepp.org/upp/trunk@6759 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-01-11 16:06:34 +00:00
parent dfcf6f0aa8
commit 424f0df691

View file

@ -26,9 +26,9 @@ void InitGtkApp(int argc, char **argv, const char **envptr)
{
LLOG(rmsecs() << " InitGtkApp");
#ifdef _MULTITHREADED
#if GLIB_MAJOR_VERSION <= 2 && GLIB_MINOR_VERSION < 32
if(!g_thread_supported())
g_thread_init(NULL);
#if !GLIB_CHECK_VERSION(2, 32, 0)
if(!g_thread_supported())
g_thread_init(NULL);
#endif
gdk_threads_set_lock_functions(EnterGuiMutex, LeaveGuiMutex);
gdk_threads_init();