Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/ev-document-factory.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/ev-document-factory.c b/backend/ev-document-factory.c
index 38054ba..e15f721 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;