From 55dd32230cc49479dd984cf8bbb29256ea945da6 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 15 Feb 2009 13:52:39 +0000 Subject: Don't overwrite an error. * backend/impress/impress-document.c: (impress_document_load): Don't overwrite an error. svn path=/trunk/; revision=3450 --- (limited to 'backend') 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); -- cgit v0.9.1