mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Fix crash with CentOS 6
This commit is contained in:
parent
fae682d42a
commit
5d19161059
1 changed files with 3 additions and 0 deletions
|
|
@ -173,6 +173,9 @@ int main (int argc, char *argv[])
|
|||
|
||||
#ifdef HAVE_GTK
|
||||
gtk_init(&argc, &argv);
|
||||
#if !GLIB_CHECK_VERSION(2,32,0) // backward compatibility with Debian 6 and CentOS 6
|
||||
g_thread_init(NULL);
|
||||
#endif
|
||||
gdk_threads_init();
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue