summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-06-27 19:23:06 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-06-27 19:23:06 +0000
commit45f373f3319b598d8e0222fb48e9d3a4760b2044 (patch)
tree846a9ec382567267b09e63c3dde2e1f20cbbffb5 /src/document.cpp
parentMove constructor/destructor into private section, remove protected section. R... (diff)
downloadinkscape-45f373f3319b598d8e0222fb48e9d3a4760b2044.tar.gz
inkscape-45f373f3319b598d8e0222fb48e9d3a4760b2044.zip
5. Refactoring of Application class: make copy/assignment operators private, disallow pointers to Application
(bzr r13341.5.9)
Diffstat (limited to 'src/document.cpp')
-rw-r--r--src/document.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/document.cpp b/src/document.cpp
index 000888772..c38cfa4ae 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -462,11 +462,11 @@ SPDocument *SPDocument::createDoc(Inkscape::XML::Document *rdoc,
DocumentUndo::setUndoSensitive(document, true);
// reset undo key when selection changes, so that same-key actions on different objects are not coalesced
- document->priv->selChangeConnection = INKSCAPE->signal_selection_changed.connect(
+ document->priv->selChangeConnection = INKSCAPE.signal_selection_changed.connect(
sigc::hide(sigc::bind(
sigc::ptr_fun(&DocumentUndo::resetKey), document)
));
- document->priv->desktopActivatedConnection = INKSCAPE->signal_activate_desktop.connect(
+ document->priv->desktopActivatedConnection = INKSCAPE.signal_activate_desktop.connect(
sigc::hide(sigc::bind(
sigc::ptr_fun(&DocumentUndo::resetKey), document)
));