summaryrefslogtreecommitdiff
path: root/libdocument/ev-document-thumbnails.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdocument/ev-document-thumbnails.c')
-rw-r--r--libdocument/ev-document-thumbnails.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libdocument/ev-document-thumbnails.c b/libdocument/ev-document-thumbnails.c
index 9482e09e..61eb2fe8 100644
--- a/libdocument/ev-document-thumbnails.c
+++ b/libdocument/ev-document-thumbnails.c
@@ -61,3 +61,13 @@ ev_document_thumbnails_get_dimensions (EvDocumentThumbnails *document,
iface->get_dimensions (document, rc, width, height);
}
+GtkWidget*
+ev_document_thumbnails_get_webview_with_rendered_document(EvDocumentThumbnails *document,
+ gchar *webpageuri)
+{
+ EvDocumentThumbnailsInterface *iface;
+ g_return_val_if_fail (EV_IS_DOCUMENT_THUMBNAILS (document),NULL);
+
+ iface = EV_DOCUMENT_THUMBNAILS_GET_IFACE(document);
+ return iface->render_in_webview(webpageuri);
+} \ No newline at end of file