Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--backend/impress/impress-document.c8
2 files changed, 6 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 195bc2d..74a47e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);