diff options
Diffstat (limited to 'previewer')
-rw-r--r-- | previewer/Makefile.am | 6 | ||||
-rw-r--r-- | previewer/ev-previewer.c | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/previewer/Makefile.am b/previewer/Makefile.am index 756446c4..5ac0d110 100644 --- a/previewer/Makefile.am +++ b/previewer/Makefile.am @@ -21,7 +21,8 @@ atril_previewer_CFLAGS = \ $(PREVIEWER_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED) \ - $(AM_CFLAGS) + $(AM_CFLAGS) \ + $(WEBKIT_CFLAGS) atril_previewer_LDFLAGS = $(AM_LDFLAGS) @@ -33,7 +34,8 @@ atril_previewer_LDADD = \ $(top_builddir)/libdocument/libatrildocument.la \ $(top_builddir)/libview/libatrilview.la \ $(top_builddir)/libmisc/libevmisc.la \ - $(PREVIEWER_LIBS) + $(PREVIEWER_LIBS) \ + $(WEBKIT_LIBS) EXTRA_DIST = $(man_MANS) diff --git a/previewer/ev-previewer.c b/previewer/ev-previewer.c index bcf1bc9f..b19fc08f 100644 --- a/previewer/ev-previewer.c +++ b/previewer/ev-previewer.c @@ -130,12 +130,6 @@ 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 */ bindtextdomain (GETTEXT_PACKAGE, ev_get_locale_dir()); |