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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/ev-document-factory.c b/backend/ev-document-factory.c
index 251ede3..e73344a 100644
--- a/backend/ev-document-factory.c
+++ b/backend/ev-document-factory.c
@@ -138,7 +138,7 @@ ev_document_factory_get_document (const char *mime_type)
type = ev_document_type_get_from_mime (mime_type);
- if (type != G_TYPE_NONE) {
+ if (type != G_TYPE_INVALID) {
return g_object_new (type, NULL);
}