mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 03:53:47 +01:00
Don't call g_threads_init with glib 2.31 and newer
This commit is contained in:
parent
c839e3fced
commit
b0d5cdd7c0
2
main.c
2
main.c
@ -21,7 +21,9 @@ main(int argc, char* argv[])
|
|||||||
textdomain(GETTEXT_PACKAGE);
|
textdomain(GETTEXT_PACKAGE);
|
||||||
|
|
||||||
/* init gtk */
|
/* init gtk */
|
||||||
|
#if !GLIB_CHECK_VERSION(2, 31, 0)
|
||||||
g_thread_init(NULL);
|
g_thread_init(NULL);
|
||||||
|
#endif
|
||||||
gdk_threads_init();
|
gdk_threads_init();
|
||||||
gtk_init(&argc, &argv);
|
gtk_init(&argc, &argv);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user