diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-04-02 21:01:45 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-04-02 21:01:45 +0000 |
| commit | 8443720ce6429b9beec839e60b8a808595f4ba72 (patch) | |
| tree | 3e08d3c631c2590a19481613a6e31cf09f6bed42 /src/sp-spiral.cpp | |
| parent | Replaced some forgotten old casting macros. (diff) | |
| download | inkscape-8443720ce6429b9beec839e60b8a808595f4ba72.tar.gz inkscape-8443720ce6429b9beec839e60b8a808595f4ba72.zip | |
Cleaned up a bit. Uses some C++11 features.
(bzr r11608.1.72)
Diffstat (limited to 'src/sp-spiral.cpp')
| -rw-r--r-- | src/sp-spiral.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/sp-spiral.cpp b/src/sp-spiral.cpp index dabd9cdd0..4c87da1b5 100644 --- a/src/sp-spiral.cpp +++ b/src/sp-spiral.cpp @@ -40,15 +40,6 @@ namespace { } -G_DEFINE_TYPE(SPSpiral, sp_spiral, G_TYPE_OBJECT); - -/** - * SPSpiral vtable initialization. - */ -static void sp_spiral_class_init(SPSpiralClass *klass) -{ -} - CSpiral::CSpiral(SPSpiral* spiral) : CShape(spiral) { this->spspiral = spiral; } @@ -77,15 +68,6 @@ SPSpiral::SPSpiral() : SPShape() { spiral->t0 = 0.0; } -/** - * Callback for SPSpiral object initialization. - */ -static void -sp_spiral_init (SPSpiral * spiral) -{ - new (spiral) SPSpiral(); -} - void CSpiral::build(SPDocument * document, Inkscape::XML::Node * repr) { SPSpiral* object = this->spspiral; @@ -235,7 +217,6 @@ void CSpiral::update(SPCtx *ctx, guint flags) { CShape::update(ctx, flags); } - void CSpiral::update_patheffect(bool write) { SPSpiral* shape = this->spspiral; |
