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, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7b78906..f74c5e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2009-02-14 Christian Persch <chpe@gnome.org>
+ * backend/impress/impress-document.c: (impress_document_save):
+ Fill in the error.
+
+2009-02-14 Christian Persch <chpe@gnome.org>
+
* libdocument/ev-document.c: (ev_document_load): Add code to catch
backends incorrectly implementing the load vfunc.
diff --git a/backend/impress/impress-document.c b/backend/impress/impress-document.c
index 46c2cc9..72eb8c1 100644
--- a/backend/impress/impress-document.c
+++ b/backend/impress/impress-document.c
@@ -310,9 +310,13 @@ impress_document_load (EvDocument *document,
static gboolean
impress_document_save (EvDocument *document,
- const char *uri,
- GError **error)
+ const char *uri,
+ GError **error)
{
+ g_set_error_literal (error,
+ EV_DOCUMENT_ERROR,
+ EV_DOCUMENT_ERROR_INVALID,
+ "Not supported");
return FALSE;
}