diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | backend/impress/impress-document.c | 8 |
2 files changed, 6 insertions, 7 deletions
@@ -1,5 +1,10 @@ 2009-02-14 Christian Persch <chpe@gnome.org> + * backend/impress/impress-document.c: (impress_document_load): Don't + overwrite an error. + +2009-02-14 Christian Persch <chpe@gnome.org> + * libdocument/ev-document.c: (ev_document_info_copy): Remove unnecessary NULL check; g_strdup() is NULL-safe. diff --git a/backend/impress/impress-document.c b/backend/impress/impress-document.c index 3f7a329..19fb8e3 100644 --- a/backend/impress/impress-document.c +++ b/backend/impress/impress-document.c @@ -290,13 +290,7 @@ impress_document_load (EvDocument *document, /* FIXME: Could we actually load uris ? */ filename = g_filename_from_uri (uri, NULL, error); if (!filename) - { - g_set_error_literal (error, - EV_DOCUMENT_ERROR, - EV_DOCUMENT_ERROR_INVALID, - _("Remote files aren't supported")); - return FALSE; - } + return FALSE; imp = imp_open (filename, &err); |