diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2019-01-06 18:31:47 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2019-01-06 18:31:47 +0000 |
| commit | 222f1936586214bc889b7c079757cea005980657 (patch) | |
| tree | 7be9ef5572e633af419d45268155bfc407a599f7 /src/document.h | |
| parent | Merge branch 'patch-1' of gitlab.com:tobiczech/inkscape (diff) | |
| download | inkscape-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.h | 1 |
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; |
