diff options
Diffstat (limited to 'src/sp-line.cpp')
| -rw-r--r-- | src/sp-line.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sp-line.cpp b/src/sp-line.cpp index b6677baf3..d7ffa8307 100644 --- a/src/sp-line.cpp +++ b/src/sp-line.cpp @@ -24,6 +24,15 @@ #include "document.h" #include "inkscape.h" +#include "sp-factory.h" + +namespace { + SPObject* createLine() { + return new SPLine(); + } + + bool lineRegistered = SPFactory::instance().registerObject("svg:line", createLine); +} G_DEFINE_TYPE(SPLine, sp_line, G_TYPE_OBJECT); |
