mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 13:35:59 +01:00
Don't call g_threads_init with glib 2.31 and newer
This commit is contained in:
parent
c839e3fced
commit
b0d5cdd7c0
1 changed files with 2 additions and 0 deletions
2
main.c
2
main.c
|
@ -21,7 +21,9 @@ main(int argc, char* argv[])
|
|||
textdomain(GETTEXT_PACKAGE);
|
||||
|
||||
/* init gtk */
|
||||
#if !GLIB_CHECK_VERSION(2, 31, 0)
|
||||
g_thread_init(NULL);
|
||||
#endif
|
||||
gdk_threads_init();
|
||||
gtk_init(&argc, &argv);
|
||||
|
||||
|
|
Loading…
Reference in a new issue