X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=backend%2Ftiff%2Ftiff-document.c;h=f813c47438066f00c6e4d55bd86a8e8d4cda4e7a;hb=71cea58275509f85d7d93fa5b8939590b025767b;hp=59748d721a276fc05c8370a7bbf61138b6e479d6;hpb=e70119b293ab8a26bdea4a56407bb0f41f1e43aa;p=evince.git diff --git a/backend/tiff/tiff-document.c b/backend/tiff/tiff-document.c index 59748d72..f813c474 100644 --- a/backend/tiff/tiff-document.c +++ b/backend/tiff/tiff-document.c @@ -259,7 +259,7 @@ tiff_document_render (EvDocument *document, return NULL; surface = cairo_image_surface_create_for_data (pixels, - CAIRO_FORMAT_ARGB32, + CAIRO_FORMAT_RGB24, width, height, rowstride); cairo_surface_set_user_data (surface, &key, @@ -373,12 +373,6 @@ tiff_document_class_init (TiffDocumentClass *klass) gobject_class->finalize = tiff_document_finalize; } -static gboolean -tiff_document_can_get_text (EvDocument *document) -{ - return FALSE; -} - static EvDocumentInfo * tiff_document_get_info (EvDocument *document) { @@ -395,7 +389,6 @@ tiff_document_document_iface_init (EvDocumentIface *iface) { iface->load = tiff_document_load; iface->save = tiff_document_save; - iface->can_get_text = tiff_document_can_get_text; iface->get_n_pages = tiff_document_get_n_pages; iface->get_page_size = tiff_document_get_page_size; iface->render = tiff_document_render;