summaryrefslogtreecommitdiffstats
path: root/src/sp-switch.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2015-02-25 00:22:08 +0000
committerLiam P. White <inkscapebrony@gmail.com>2015-02-25 00:22:08 +0000
commitdf7828a7a8ba0b7e6c2dd892ca5f0a62ef718bf0 (patch)
tree8e03cc5b9c89749e73a1281ee997da90b40694fc /src/sp-switch.cpp
parentTranslations. Hungarian translation update. (diff)
downloadinkscape-df7828a7a8ba0b7e6c2dd892ca5f0a62ef718bf0.tar.gz
inkscape-df7828a7a8ba0b7e6c2dd892ca5f0a62ef718bf0.zip
create SPObject factory
(bzr r13939.1.1)
Diffstat (limited to '')
-rw-r--r--src/sp-switch.cpp14
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;
}