[goffice] GODoc: fixup dirty flag when saved_state is set.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] GODoc: fixup dirty flag when saved_state is set.
- Date: Mon, 1 Mar 2021 18:22:57 +0000 (UTC)
commit c8442657e2fee626bd4833bdc7249d09be953655
Author: Morten Welinder <terra gnome org>
Date: Mon Mar 1 13:22:33 2021 -0500
GODoc: fixup dirty flag when saved_state is set.
goffice/app/go-doc.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/goffice/app/go-doc.c b/goffice/app/go-doc.c
index 6a02772d3..66df6cf78 100644
--- a/goffice/app/go-doc.c
+++ b/goffice/app/go-doc.c
@@ -555,6 +555,7 @@ go_doc_set_saved_state (GODoc *doc, guint64 state)
doc->priv->saved_state = state;
g_object_notify (G_OBJECT (doc), "saved-state");
+ go_doc_set_dirty (doc, state != doc->priv->state);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]