[goffice] GODoc: allow setting NULL uri.
- From: Morten Welinder <mortenw src gnome org>
- To: svn-commits-list gnome org
- Subject: [goffice] GODoc: allow setting NULL uri.
- Date: Sun, 14 Jun 2009 18:04:17 -0400 (EDT)
commit 03ee7742fa5281e079a7f52824020a765f7e759f
Author: Morten Welinder <terra gnome org>
Date: Sun Jun 14 10:03:31 2009 -0400
GODoc: allow setting NULL uri.
ChangeLog | 4 ++++
goffice/app/go-doc.c | 1 -
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9a19e3e..1bf5995 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-14 Morten Welinder <terra gnome org>
+
+ * goffice/app/go-doc.c (go_doc_set_uri): Allow setting a NULL uri.
+
2009-06-13 Jean Brefort <jean brefort normalesup org>
* goffice/graph/gog-equation.c: make things compile again after the
diff --git a/goffice/app/go-doc.c b/goffice/app/go-doc.c
index e98d60c..feda2cf 100644
--- a/goffice/app/go-doc.c
+++ b/goffice/app/go-doc.c
@@ -178,7 +178,6 @@ go_doc_set_uri (GODoc *doc, char const *uri)
char *new_uri;
g_return_val_if_fail (doc != NULL, FALSE);
- g_return_val_if_fail (uri != NULL, FALSE);
if (go_str_compare (uri, doc->uri) == 0)
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]