diff options
Diffstat (limited to 'backend/ev-document-factory.c')
-rw-r--r-- | backend/ev-document-factory.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/ev-document-factory.c b/backend/ev-document-factory.c index e73344a..7071f84 100644 --- a/backend/ev-document-factory.c +++ b/backend/ev-document-factory.c @@ -123,10 +123,11 @@ ev_document_type_get_from_mime (const char *mime_type) return document_types[i].document_type_factory_callback(); } } - +#ifdef ENABLE_PIXBUF if (mime_type_supported_by_gdk_pixbuf (mime_type)) { return pixbuf_document_get_type (); } +#endif return G_TYPE_INVALID; } |