From e0535b0e61cc56ec62d32518c03a42836f5256e6 Mon Sep 17 00:00:00 2001 From: rootavish Date: Sat, 19 Jul 2014 22:18:40 +0530 Subject: Moving all webkit tasks to main loop jobs --- libdocument/ev-document-thumbnails.c | 11 ----------- libdocument/ev-document-thumbnails.h | 3 --- 2 files changed, 14 deletions(-) (limited to 'libdocument') diff --git a/libdocument/ev-document-thumbnails.c b/libdocument/ev-document-thumbnails.c index 61eb2fe8..65248683 100644 --- a/libdocument/ev-document-thumbnails.c +++ b/libdocument/ev-document-thumbnails.c @@ -59,15 +59,4 @@ ev_document_thumbnails_get_dimensions (EvDocumentThumbnails *document, iface = EV_DOCUMENT_THUMBNAILS_GET_IFACE (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 diff --git a/libdocument/ev-document-thumbnails.h b/libdocument/ev-document-thumbnails.h index a94a810d..5f425ef0 100644 --- a/libdocument/ev-document-thumbnails.h +++ b/libdocument/ev-document-thumbnails.h @@ -53,7 +53,6 @@ struct _EvDocumentThumbnailsInterface { gint *width, gint *height); - GtkWidget *(*render_in_webview) (gchar* webpage); }; GType ev_document_thumbnails_get_type (void) G_GNUC_CONST; @@ -65,8 +64,6 @@ 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