mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-25 14:22:54 -06:00
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:
parent
dfcf6f0aa8
commit
424f0df691
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue