summaryrefslogtreecommitdiffstats
path: root/src/sp-switch.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2015-04-26 09:44:42 +0000
committerMarc Jeanmougin <mc@M0nst3r.bouyguesbox.fr>2015-04-26 09:44:42 +0000
commit1c6d7546699e45643c2ab8e1d41d7b6f4fc52365 (patch)
treea56b6da9bb0f660d5986919ac8d75dc04113cd69 /src/sp-switch.cpp
parentmore cast cleanup (diff)
parentRename libgc/ => inkgc/ to reflect difference from Boehm GC (diff)
downloadinkscape-1c6d7546699e45643c2ab8e1d41d7b6f4fc52365.tar.gz
inkscape-1c6d7546699e45643c2ab8e1d41d7b6f4fc52365.zip
merge
(bzr r13922.1.12)
Diffstat (limited to 'src/sp-switch.cpp')
-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 f252438a4..cfc0e7d8b 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;
}