From 6a6140b082aeb834fe33cc4979289583a1d2f867 Mon Sep 17 00:00:00 2001 From: scislac Date: Tue, 7 Jul 2009 08:07:06 +0000 Subject: [PATCH] Removing a couple node-tool related modifications in the file which I don't believe Krzysztof intended to commit. --- src/widgets/toolbox.cpp | 11 ----------- 1 file changed, 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) -- 2.30.2