diff options
author | Christian Persch <chpe@src.gnome.org> | 2009-02-15 13:52:39 (GMT) |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2009-02-15 13:52:39 (GMT) |
commit | 55dd32230cc49479dd984cf8bbb29256ea945da6 (patch) | |
tree | 1a7927e5717a4ded2ffee1665c3aba93d3e8a5a7 /backend | |
parent | 91e86581610a0924f8668b1d1bcecb9a87e5f3be (diff) |
Don't overwrite an error.
* backend/impress/impress-document.c: (impress_document_load): Don't
overwrite an error.
svn path=/trunk/; revision=3450
Diffstat (limited to 'backend')
-rw-r--r-- | backend/impress/impress-document.c | 8 |
1 files changed, 1 insertions, 7 deletions
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); |