summaryrefslogtreecommitdiffstats
path: root/src/sp-line.cpp
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-04-02 21:01:45 +0000
committerMarkus Engel <markus.engel@tum.de>2013-04-02 21:01:45 +0000
commit8443720ce6429b9beec839e60b8a808595f4ba72 (patch)
tree3e08d3c631c2590a19481613a6e31cf09f6bed42 /src/sp-line.cpp
parentReplaced some forgotten old casting macros. (diff)
downloadinkscape-8443720ce6429b9beec839e60b8a808595f4ba72.tar.gz
inkscape-8443720ce6429b9beec839e60b8a808595f4ba72.zip
Cleaned up a bit. Uses some C++11 features.
(bzr r11608.1.72)
Diffstat (limited to 'src/sp-line.cpp')
-rw-r--r--src/sp-line.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/sp-line.cpp b/src/sp-line.cpp
index d7ffa8307..4a14b883c 100644
--- a/src/sp-line.cpp
+++ b/src/sp-line.cpp
@@ -34,13 +34,6 @@ namespace {
bool lineRegistered = SPFactory::instance().registerObject("svg:line", createLine);
}
-G_DEFINE_TYPE(SPLine, sp_line, G_TYPE_OBJECT);
-
-static void
-sp_line_class_init(SPLineClass *klass)
-{
-}
-
CLine::CLine(SPLine* line) : CShape(line) {
this->spline = line;
}
@@ -66,12 +59,6 @@ SPLine::SPLine() : SPShape() {
line->y2.unset();
}
-static void
-sp_line_init(SPLine * line)
-{
- new (line) SPLine();
-}
-
void CLine::build(SPDocument * document, Inkscape::XML::Node * repr) {
SPLine* object = this->spline;