Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian 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)
commit55dd32230cc49479dd984cf8bbb29256ea945da6 (patch)
tree1a7927e5717a4ded2ffee1665c3aba93d3e8a5a7
parent91e86581610a0924f8668b1d1bcecb9a87e5f3be (diff)
Don't overwrite an error.
* backend/impress/impress-document.c: (impress_document_load): Don't overwrite an error. svn path=/trunk/; revision=3450
-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);