summaryrefslogtreecommitdiffstats
path: root/src/inkscape.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-12-21 21:58:32 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-12-21 21:58:32 +0000
commit3dbf9a08680c6d7252c79397dbf12082ead61bd7 (patch)
tree565cc1093ba3ec7110971e641d2f1c94b77c45a0 /src/inkscape.cpp
parentPurge sp_desktop_controls (diff)
downloadinkscape-3dbf9a08680c6d7252c79397dbf12082ead61bd7.tar.gz
inkscape-3dbf9a08680c6d7252c79397dbf12082ead61bd7.zip
Remove sp_desktop_document and finish cleanup of desktop-handles.h
(bzr r13820)
Diffstat (limited to 'src/inkscape.cpp')
-rw-r--r--src/inkscape.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index 6d20c54f8..6a0e0f35a 100644
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
@@ -54,7 +54,7 @@
#include <string>
#include "desktop.h"
-#include "desktop-handles.h"
+
#include "device-manager.h"
#include "document.h"
#include "extension/db.h"
@@ -1110,7 +1110,7 @@ SPDocument *
Application::active_document()
{
if (SP_ACTIVE_DESKTOP) {
- return sp_desktop_document (SP_ACTIVE_DESKTOP);
+ return SP_ACTIVE_DESKTOP->getDocument();
} else if (!_document_set.empty()) {
// If called from the command line there will be no desktop
// So 'fall back' to take the first listed document in the Inkscape instance