summaryrefslogtreecommitdiff
path: root/libview/ev-jobs.h
diff options
context:
space:
mode:
authorrootavish <[email protected]>2014-07-20 23:57:08 +0530
committerrootavish <[email protected]>2014-07-20 23:57:08 +0530
commitc8b63e55987f0ee6d4067a7309ef2fac8119b0cc (patch)
tree8bbcdf23fb7d87d2f16ed70475fa613ba8d7af00 /libview/ev-jobs.h
parent4a3ac19d1365cb87a31eecea4759484673fad667 (diff)
downloadatril-c8b63e55987f0ee6d4067a7309ef2fac8119b0cc.tar.bz2
atril-c8b63e55987f0ee6d4067a7309ef2fac8119b0cc.tar.xz
Moving everything related to webkit to main thread jobs
Including creation of windows, webviews etc., still get a crash. The one page epub works fine with the thumbnails though. Also fixing some calls which cause gtk-critical errors when I try to close the window.
Diffstat (limited to 'libview/ev-jobs.h')
-rw-r--r--libview/ev-jobs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libview/ev-jobs.h b/libview/ev-jobs.h
index a45891b6..ded0f05f 100644
--- a/libview/ev-jobs.h
+++ b/libview/ev-jobs.h
@@ -306,6 +306,7 @@ struct _EvJobWebThumbnail
GtkWidget *webview;
GtkWidget *offscreenwindow;
gboolean *completed;
+ GRWLock screenlock;
cairo_surface_t *surface;
gchar* page;
};
@@ -476,7 +477,6 @@ EvJob *ev_job_thumbnail_new (EvDocument *document,
GType ev_job_web_thumbnail_get_type (void) G_GNUC_CONST;
EvJob *ev_job_web_thumbnail_new (EvDocument *document,
gboolean *completed,
- GtkWidget *webview,
gchar *webpage);
/* EvJobFonts */
GType ev_job_fonts_get_type (void) G_GNUC_CONST;