diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | backend/impress/impress-document.c | 8 |
2 files changed, 11 insertions, 2 deletions
@@ -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; } |