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:53:39 (GMT)
committer Christian Persch <chpe@src.gnome.org>2009-02-15 13:53:39 (GMT)
commit116cc32fa10941e73faa84697d33efd5c75ba7f7 (patch)
tree55e225f6af7d6da3fd8e95d1f50307d4588f0bf5
parent3902bcf1103b559bf918b132aa9d84e680a062cc (diff)
Fill in the error.
* backend/impress/impress-document.c: (impress_document_save): Fill in the error. svn path=/trunk/; revision=3461
-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;
}