summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/text-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/text-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/text-tool.cpp')
-rw-r--r--src/ui/tools/text-tool.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ui/tools/text-tool.cpp b/src/ui/tools/text-tool.cpp
index df0583d67..a2c0c81ae 100644
--- a/src/ui/tools/text-tool.cpp
+++ b/src/ui/tools/text-tool.cpp
@@ -52,7 +52,6 @@
#include "xml/node-event-vector.h"
#include "xml/repr.h"
#include <gtk/gtk.h>
-#include "ui/tool-factory.h"
using Inkscape::ControlManager;
using Inkscape::DocumentUndo;
@@ -71,14 +70,6 @@ static gint sptc_focus_in(GtkWidget *widget, GdkEventFocus *event, TextTool *tc)
static gint sptc_focus_out(GtkWidget *widget, GdkEventFocus *event, TextTool *tc);
static void sptc_commit(GtkIMContext *imc, gchar *string, TextTool *tc);
-namespace {
- ToolBase* createTextContext() {
- return new TextTool();
- }
-
- bool textContextRegistered = ToolFactory::instance().registerObject("/tools/text", createTextContext);
-}
-
const std::string& TextTool::getPrefsPath() {
return TextTool::prefsPath;
}