summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-06-25 15:32:51 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-06-25 15:32:51 +0000
commit69ae98cb453849c6d32a1c7ea8bc057fb13deea3 (patch)
tree6defcecd267d9757d9667367541d00d07c2a5e40 /src/document.cpp
parentfix bug introduced in rev. 13403 (merge with trunk) (diff)
downloadinkscape-69ae98cb453849c6d32a1c7ea8bc057fb13deea3.tar.gz
inkscape-69ae98cb453849c6d32a1c7ea8bc057fb13deea3.zip
1. make it compile
(bzr r13341.5.1)
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 f79a00178..80e9bfe4f 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -218,7 +218,7 @@ SPDocument::~SPDocument() {
}
if (keepalive) {
- inkscape_unref();
+ inkscape_unref(INKSCAPE);
keepalive = FALSE;
}
@@ -448,7 +448,7 @@ SPDocument *SPDocument::createDoc(Inkscape::XML::Document *rdoc,
rdf_set_defaults( document );
if (keepalive) {
- inkscape_ref();
+ inkscape_ref(INKSCAPE);
}
// Check if the document already has a perspective (e.g., when opening an existing