X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=backend%2Fev-document-factory.c;h=e15f7213750c6831e94fa9cb2847a2f135dfd491;hb=f693b48e9ca24fec37c190cdb90682c67e8e6c28;hp=38054ba17a557578a999b66f475887c677d813dd;hpb=d2291de1b6c2226d9ac294ace75ad4450d6e5cff;p=evince.git diff --git a/backend/ev-document-factory.c b/backend/ev-document-factory.c index 38054ba1..e15f7213 100644 --- a/backend/ev-document-factory.c +++ b/backend/ev-document-factory.c @@ -185,6 +185,10 @@ ev_document_factory_get_backend (EvDocument *document) } } +#ifdef ENABLE_PIXBUF + if (G_TYPE_FROM_INSTANCE (document) == pixbuf_document_get_type ()) + return EV_BACKEND_PIXBUF; +#endif g_assert_not_reached (); return 0;