From 222f1936586214bc889b7c079757cea005980657 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Sun, 6 Jan 2019 19:31:47 +0100 Subject: Remove unneeded unreferencing. Add check on reference count. --- src/document.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/document.h') 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; -- cgit v1.2.3