diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-21 19:40:38 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-21 19:40:38 +0100 |
commit | 0deaac8188e7479967ca059fb59404e1aeac0dce (patch) | |
tree | 624edf67afed20487f6b1ee3c709767cb092d498 /previewer/ev-previewer.c | |
parent | 9339d8eb7ba80c8d97b2d960e64f8f59baac70a9 (diff) | |
download | atril-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.c | 2 |
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 */ |