summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 52d23f8)
raw | patch | inline | side by side (parent: 52d23f8)
author | scislac <scislac@users.sourceforge.net> | |
Tue, 7 Jul 2009 08:07:06 +0000 (08:07 +0000) | ||
committer | scislac <scislac@users.sourceforge.net> | |
Tue, 7 Jul 2009 08:07:06 +0000 (08:07 +0000) |
src/widgets/toolbox.cpp | patch | blob | history |
index 8dcd1951daeb3a1cb5d2a209c60f16d93a6c15cf..9c0aeb77c2b020b19d97d44e4341c93777873433 100644 (file)
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
#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"
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)