From b7010ffde22a6845f1ceee7d74750da69cd53149 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Mon, 29 Oct 2018 10:10:24 +0100 Subject: Move contents of document-private.h to document.h. --- src/ui/widget/licensor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ui/widget/licensor.cpp') 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); -- cgit v1.2.3