summaryrefslogtreecommitdiffstats
path: root/src/ui/widget
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-04-05 08:57:38 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-04-05 08:57:38 +0000
commit98d368ee1fbfce8a561479da078e97a7f5d7ccd4 (patch)
treec2bf896c3bebb8766dec9fd1a0032ffd2ebc0824 /src/ui/widget
parentFix indentating. (diff)
downloadinkscape-98d368ee1fbfce8a561479da078e97a7f5d7ccd4.tar.gz
inkscape-98d368ee1fbfce8a561479da078e97a7f5d7ccd4.zip
More cleanup of document.h.
Diffstat (limited to 'src/ui/widget')
-rw-r--r--src/ui/widget/entity-entry.cpp2
-rw-r--r--src/ui/widget/licensor.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widget/entity-entry.cpp b/src/ui/widget/entity-entry.cpp
index 7cabed1b5..6e87459df 100644
--- a/src/ui/widget/entity-entry.cpp
+++ b/src/ui/widget/entity-entry.cpp
@@ -122,7 +122,7 @@ EntityLineEntry::on_changed()
SPDocument *doc = SP_ACTIVE_DOCUMENT;
Glib::ustring text = static_cast<Gtk::Entry*>(_packable)->get_text();
if (rdf_set_work_entity (doc, _entity, text.c_str())) {
- if (doc->sensitive) {
+ if (doc->isSensitive()) {
DocumentUndo::done(doc, SP_VERB_NONE, "Document metadata updated");
}
}
diff --git a/src/ui/widget/licensor.cpp b/src/ui/widget/licensor.cpp
index c5d6a9aca..2ad811f17 100644
--- a/src/ui/widget/licensor.cpp
+++ b/src/ui/widget/licensor.cpp
@@ -64,7 +64,7 @@ void LicenseItem::on_toggled()
_wr.setUpdating (true);
SPDocument *doc = SP_ACTIVE_DOCUMENT;
rdf_set_license (doc, _lic->details ? _lic : nullptr);
- if (doc->sensitive) {
+ if (doc->isSensitive()) {
DocumentUndo::done(doc, SP_VERB_NONE, _("Document license updated"));
}
_wr.setUpdating (false);