summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/pencil-tool.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2015-02-25 01:04:28 +0000
committerLiam P. White <inkscapebrony@gmail.com>2015-02-25 01:04:28 +0000
commit73f83ba325e7d28693363d8d6e6b9482e4e12081 (patch)
treecead8f00e537e51838d8469fc52b4ba8d04805f8 /src/ui/tools/pencil-tool.cpp
parentcreate SPObject factory (diff)
downloadinkscape-73f83ba325e7d28693363d8d6e6b9482e4e12081.tar.gz
inkscape-73f83ba325e7d28693363d8d6e6b9482e4e12081.zip
Strip ToolFactory
(bzr r13939.1.2)
Diffstat (limited to 'src/ui/tools/pencil-tool.cpp')
-rw-r--r--src/ui/tools/pencil-tool.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ui/tools/pencil-tool.cpp b/src/ui/tools/pencil-tool.cpp
index 28fed3a8f..db24c7432 100644
--- a/src/ui/tools/pencil-tool.cpp
+++ b/src/ui/tools/pencil-tool.cpp
@@ -43,7 +43,6 @@
#include "display/sp-canvas.h"
#include "display/curve.h"
#include "livarot/Path.h"
-#include "ui/tool-factory.h"
#include "ui/tool/event-utils.h"
namespace Inkscape {
@@ -55,14 +54,6 @@ static bool pencil_within_tolerance = false;
static bool in_svg_plane(Geom::Point const &p) { return Geom::LInfty(p) < 1e18; }
-namespace {
- ToolBase* createPencilContext() {
- return new PencilTool();
- }
-
- bool pencilContextRegistered = ToolFactory::instance().registerObject("/tools/freehand/pencil", createPencilContext);
-}
-
const std::string& PencilTool::getPrefsPath() {
return PencilTool::prefsPath;
}