summaryrefslogtreecommitdiffstats
path: root/src/knot-holder-entity.h
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-06-07 15:43:04 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-06-07 15:43:04 +0000
commit92631f68a2295bbfe024195d1f1f208822bcc629 (patch)
tree00eaeeda9949f39322b247da6574a9274352e994 /src/knot-holder-entity.h
parentFix compile for GTK+ less than 2.20 when GSEAL is on. Fixes bug #1009010. (diff)
downloadinkscape-92631f68a2295bbfe024195d1f1f208822bcc629.tar.gz
inkscape-92631f68a2295bbfe024195d1f1f208822bcc629.zip
cppcheck
(bzr r11465)
Diffstat (limited to 'src/knot-holder-entity.h')
-rw-r--r--src/knot-holder-entity.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/knot-holder-entity.h b/src/knot-holder-entity.h
index 78ece7b05..58dc89bfd 100644
--- a/src/knot-holder-entity.h
+++ b/src/knot-holder-entity.h
@@ -40,7 +40,13 @@ typedef Geom::Point (* SPKnotHolderGetFunc) (SPItem *item);
*/
class KnotHolderEntity {
public:
- KnotHolderEntity() {}
+ KnotHolderEntity():
+ knot(NULL),
+ item(NULL),
+ desktop(NULL),
+ parent_holder(NULL),
+ my_counter(0)
+ {}
virtual ~KnotHolderEntity();
virtual void create(SPDesktop *desktop, SPItem *item, KnotHolder *parent,