From 46fce038996fa84784df775d0b2e941228388b66 Mon Sep 17 00:00:00 2001 From: rootavish Date: Sat, 19 Jul 2014 10:47:43 +0530 Subject: Thumbnails for all documents Now other problems with webkit. After much fidgeting I was able to resolve the previous problems of threads. However, now there is a different webkit error. --- libdocument/ev-document-thumbnails.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libdocument/ev-document-thumbnails.h') diff --git a/libdocument/ev-document-thumbnails.h b/libdocument/ev-document-thumbnails.h index 1a7cb9fd..a94a810d 100644 --- a/libdocument/ev-document-thumbnails.h +++ b/libdocument/ev-document-thumbnails.h @@ -26,7 +26,7 @@ #define EV_DOCUMENT_THUMBNAILS_H #include - +#include #include "ev-render-context.h" G_BEGIN_DECLS @@ -52,6 +52,8 @@ struct _EvDocumentThumbnailsInterface { EvRenderContext *rc, gint *width, gint *height); + + GtkWidget *(*render_in_webview) (gchar* webpage); }; GType ev_document_thumbnails_get_type (void) G_GNUC_CONST; @@ -63,7 +65,8 @@ void ev_document_thumbnails_get_dimensions (EvDocumentThumbnails *document EvRenderContext *rc, gint *width, gint *height); - +GtkWidget* ev_document_thumbnails_get_webview_with_rendered_document (EvDocumentThumbnails *document, + gchar* webpageuri); G_END_DECLS #endif /* EV_DOCUMENT_THUMBNAILS_H */ -- cgit v1.2.1