summaryrefslogtreecommitdiffstats
path: root/src/document.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-01-06 18:31:47 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-01-06 18:31:47 +0000
commit222f1936586214bc889b7c079757cea005980657 (patch)
tree7be9ef5572e633af419d45268155bfc407a599f7 /src/document.h
parentMerge branch 'patch-1' of gitlab.com:tobiczech/inkscape (diff)
downloadinkscape-222f1936586214bc889b7c079757cea005980657.tar.gz
inkscape-222f1936586214bc889b7c079757cea005980657.zip
Remove unneeded unreferencing. Add check on reference count.
Diffstat (limited to 'src/document.h')
-rw-r--r--src/document.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/document.h b/src/document.h
index 6c14d5198..e22542f80 100644
--- a/src/document.h
+++ b/src/document.h
@@ -269,6 +269,7 @@ public:
char const *base, char const *name, unsigned int keepalive,
SPDocument *parent);
+ int ref_count;
SPDocument *doRef();
SPDocument *doUnref();
Inkscape::Util::Unit const* getDisplayUnit() const;