diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-03-19 23:19:10 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-03-19 23:19:10 +0000 |
| commit | 56203e13823d18965321e46218f4d2995287383d (patch) | |
| tree | 608ea929af1aafc1b820344662881ed52ea34966 /src/sp-object.h | |
| parent | restore broken ngettext (diff) | |
| download | inkscape-56203e13823d18965321e46218f4d2995287383d.tar.gz inkscape-56203e13823d18965321e46218f4d2995287383d.zip | |
patch by Andrius R. for (un)clip and (un)mask commands
(bzr r263)
Diffstat (limited to 'src/sp-object.h')
| -rw-r--r-- | src/sp-object.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sp-object.h b/src/sp-object.h index e853de097..4879e5bea 100644 --- a/src/sp-object.h +++ b/src/sp-object.h @@ -287,6 +287,10 @@ struct SPObject : public GObject { } } + /** @brief Check if object is referenced by any other object. + */ + bool isReferenced() { return ( _total_hrefcount > 0 ); } + /** @brief Deletes an object. * * Detaches the object's repr, and optionally sends notification that the object has been |
