]> www.fi.muni.cz Git - evince.git/blobdiff - backend/ev-document-factory.c
Fix for dbus 0.33. bug #309975
[evince.git] / backend / ev-document-factory.c
index 251ede3fc2af00e666007f569af12f36f0443fda..e73344a062ff2b2db560165612db366c9e0a4f6d 100644 (file)
@@ -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);
        }