diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2015-02-25 00:22:08 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2015-02-25 00:22:08 +0000 |
| commit | df7828a7a8ba0b7e6c2dd892ca5f0a62ef718bf0 (patch) | |
| tree | 8e03cc5b9c89749e73a1281ee997da90b40694fc /src/sp-switch.cpp | |
| parent | Translations. Hungarian translation update. (diff) | |
| download | inkscape-df7828a7a8ba0b7e6c2dd892ca5f0a62ef718bf0.tar.gz inkscape-df7828a7a8ba0b7e6c2dd892ca5f0a62ef718bf0.zip | |
create SPObject factory
(bzr r13939.1.1)
Diffstat (limited to '')
| -rw-r--r-- | src/sp-switch.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/sp-switch.cpp b/src/sp-switch.cpp index db6db9909..66cec3637 100644 --- a/src/sp-switch.cpp +++ b/src/sp-switch.cpp @@ -12,10 +12,6 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #include <glibmm/i18n.h> #include "sp-switch.h" @@ -25,16 +21,6 @@ #include <sigc++/functors/ptr_fun.h> #include <sigc++/adaptors/bind.h> -#include "sp-factory.h" - -namespace { - SPObject* createSwitch() { - return new SPSwitch(); - } - - bool switchRegistered = SPFactory::instance().registerObject("svg:switch", createSwitch); -} - SPSwitch::SPSwitch() : SPGroup() { this->_cached_item = 0; } |
