summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-10-29 09:10:24 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-10-29 09:10:24 +0000
commitb7010ffde22a6845f1ceee7d74750da69cd53149 (patch)
treed738441a0e0ecddf991b2a8b04018567e44ec8ff /src/ui
parentSelectedStyle: Ensure constant field width of stroke width (diff)
downloadinkscape-b7010ffde22a6845f1ceee7d74750da69cd53149.tar.gz
inkscape-b7010ffde22a6845f1ceee7d74750da69cd53149.zip
Move contents of document-private.h to document.h.
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/widget/entity-entry.cpp3
-rw-r--r--src/ui/widget/licensor.cpp3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/ui/widget/entity-entry.cpp b/src/ui/widget/entity-entry.cpp
index 5bd0a7700..d16ee6e6a 100644
--- a/src/ui/widget/entity-entry.cpp
+++ b/src/ui/widget/entity-entry.cpp
@@ -18,7 +18,6 @@
#include <gtkmm/scrolledwindow.h>
#include <gtkmm/entry.h>
-#include "document-private.h"
#include "document-undo.h"
#include "inkscape.h"
#include "preferences.h"
@@ -122,7 +121,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->priv->sensitive) {
+ if (doc->sensitive) {
DocumentUndo::done(doc, SP_VERB_NONE, "Document metadata updated");
}
}
diff --git a/src/ui/widget/licensor.cpp b/src/ui/widget/licensor.cpp
index 63c95cc3a..de6817266 100644
--- a/src/ui/widget/licensor.cpp
+++ b/src/ui/widget/licensor.cpp
@@ -22,7 +22,6 @@
#include "rdf.h"
#include "inkscape.h"
#include "document-undo.h"
-#include "document-private.h"
#include "verbs.h"
@@ -64,7 +63,7 @@ void LicenseItem::on_toggled()
_wr.setUpdating (true);
SPDocument *doc = SP_ACTIVE_DOCUMENT;
rdf_set_license (doc, _lic->details ? _lic : nullptr);
- if (doc->priv->sensitive) {
+ if (doc->sensitive) {
DocumentUndo::done(doc, SP_VERB_NONE, _("Document license updated"));
}
_wr.setUpdating (false);