2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
* properties/ev-properties-main.c: (ev_properties_get_pages):
Actually return NULL for types we dont support
+2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
+
+ * properties/ev-properties-main.c: (ev_properties_get_pages):
+
+ Actually return NULL for types we dont support
+
2005-07-08 Christian Persch <chpe@cvs.gnome.org>
* po/POTFILES.in:
goto end;
file = files->data;
-
/* okay, make the page */
mime = nautilus_file_info_get_mime_type (file);
document = ev_document_factory_get_document (mime);
g_free (mime);
+ if (document == NULL)
+ goto end;
+
uri = nautilus_file_info_get_uri (file);
if (!ev_document_load (document, uri, &error)) {
g_error_free (error);