Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorJani Monoses <jani.monoses@gmail.com>2006-01-17 22:54:02 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2006-01-17 22:54:02 (GMT)
commitf31f98d1c68e4d665dbf2dd99a8e87f43092d953 (patch)
tree622f275ab5bc524ddf3977c5745f4fa2ce9c8a50 /backend
parentc7bae2c213369b853bb420e5cf09d192f38f8cce (diff)
Fix crash when saving pixbuf.
2006-01-18 Jani Monoses <jani.monoses@gmail.com> * backend/ev-document-factory.c: (ev_document_factory_get_backend): Fix crash when saving pixbuf.
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;