summaryrefslogtreecommitdiff
path: root/shell/ev-convert-metadata.c
diff options
context:
space:
mode:
authorrootavish <[email protected]>2014-07-10 13:50:37 +0530
committerrootavish <[email protected]>2014-07-10 13:50:37 +0530
commit423af80ad421a8a19e1c4be0c6851dff845a0f6c (patch)
treea5f5258fcfd1850f36d1238c7162146f3c186a82 /shell/ev-convert-metadata.c
parentdf43418e209ae9c98844185f789c63769ae9b3a2 (diff)
downloadatril-423af80ad421a8a19e1c4be0c6851dff845a0f6c.tar.bz2
atril-423af80ad421a8a19e1c4be0c6851dff845a0f6c.tar.xz
Files for EvWebView, thumbnails possible with GTK+-2.0
My last commit was supposed to have ev-web-view.c and ev-web-view.h however due to some reason I missed them last time, so here they are now. i am able to achieve thumbnails for my epub however these are of absurdly large size. Still struggling to get the webview done due to thread problems that I am encountering.
Diffstat (limited to 'shell/ev-convert-metadata.c')
-rw-r--r--shell/ev-convert-metadata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ev-convert-metadata.c b/shell/ev-convert-metadata.c
index 5664253b..72431dd5 100644
--- a/shell/ev-convert-metadata.c
+++ b/shell/ev-convert-metadata.c
@@ -26,7 +26,7 @@
#include <glib/gi18n.h>
#include <string.h>
#include <libxml/tree.h>
-
+#include <X11/Xlib.h>
#define EV_METADATA_NAMESPACE "metadata::atril"
typedef struct {
@@ -294,7 +294,7 @@ main (gint argc, gchar **argv)
g_printerr ("%s\n", "Usage: atril-convert-metadata FILE");
return 1;
}
-
+ XInitThreads();
gtk_init (&argc, &argv);
if (!convert_metadata_file (argv[1]))