summaryrefslogtreecommitdiff
path: root/previewer/ev-previewer.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-21 19:40:38 +0100
committerStefano Karapetsas <[email protected]>2014-01-21 19:40:38 +0100
commit0deaac8188e7479967ca059fb59404e1aeac0dce (patch)
tree624edf67afed20487f6b1ee3c709767cb092d498 /previewer/ev-previewer.c
parent9339d8eb7ba80c8d97b2d960e64f8f59baac70a9 (diff)
downloadatril-0deaac8188e7479967ca059fb59404e1aeac0dce.tar.bz2
atril-0deaac8188e7479967ca059fb59404e1aeac0dce.tar.xz
previewer: Fix g_thread_init deprecation
Diffstat (limited to 'previewer/ev-previewer.c')
-rw-r--r--previewer/ev-previewer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/previewer/ev-previewer.c b/previewer/ev-previewer.c
index 7a23b3e4..bcf1bc9f 100644
--- a/previewer/ev-previewer.c
+++ b/previewer/ev-previewer.c
@@ -130,9 +130,11 @@ main (gint argc, gchar **argv)
}
#endif
+#if !GLIB_CHECK_VERSION (2, 32, 0)
/* Init glib threads asap */
if (!g_thread_supported ())
g_thread_init (NULL);
+#endif
#ifdef ENABLE_NLS
/* Initialize the i18n stuff */