summaryrefslogtreecommitdiffstats
path: root/src/widgets/toolbox.cpp
diff options
context:
space:
mode:
authorJosh Andler <scislac@gmail.com>2009-07-07 08:07:06 +0000
committerscislac <scislac@users.sourceforge.net>2009-07-07 08:07:06 +0000
commite98c59412573d5a16cb90914b9cda12b3f6960a0 (patch)
tree27ffec12c49b9243d12d606134e31c4c60f8f218 /src/widgets/toolbox.cpp
parent* [INTL:de] German translation update (diff)
downloadinkscape-e98c59412573d5a16cb90914b9cda12b3f6960a0.tar.gz
inkscape-e98c59412573d5a16cb90914b9cda12b3f6960a0.zip
Removing a couple node-tool related modifications in the file which I don't believe Krzysztof intended to commit.
(bzr r8226)
Diffstat (limited to 'src/widgets/toolbox.cpp')
-rw-r--r--src/widgets/toolbox.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp
index 8dcd1951d..9c0aeb77c 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -66,7 +66,6 @@
#include "../lpe-tool-context.h"
#include "../mod360.h"
#include "../node-context.h"
-#include "../ui/tool/node-tool.h"
#include "../pen-context.h"
#include "../preferences.h"
#include "../selection-chemistry.h"
@@ -1000,16 +999,6 @@ static ShapeEditor *get_current_shape_editor()
return event_context->shape_editor;
}
-/** Temporary hack: Returns the node tool in the active desktop.
- * Will go away during tool refactoring. */
-static InkNodeTool *get_node_tool()
-{
- if (!SP_ACTIVE_DESKTOP) return NULL;
- SPEventContext *ec = SP_ACTIVE_DESKTOP->event_context;
- if (!INK_IS_NODE_TOOL(ec)) return NULL;
- return INK_NODE_TOOL(ec);
-}
-
void
sp_node_path_edit_add(void)