diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-02-13 18:13:26 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-02-13 18:13:26 +0000 |
| commit | ebf545db8daba21cab462d566f8dacf4ebe5006c (patch) | |
| tree | 9e986a4148763aa7a8519e0f3bc6e8b31bff069e | |
| parent | isolate the nodepath-or-knotholder unit into the new ShapeEditor class which ... (diff) | |
| download | inkscape-ebf545db8daba21cab462d566f8dacf4ebe5006c.tar.gz inkscape-ebf545db8daba21cab462d566f8dacf4ebe5006c.zip | |
removing forward declaration of a enum - is it valid at all? at least it worked for me
(bzr r2375)
| -rw-r--r-- | src/shape-editor.cpp | 4 | ||||
| -rw-r--r-- | src/shape-editor.h | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp index 19b9ea64d..491037bd1 100644 --- a/src/shape-editor.cpp +++ b/src/shape-editor.cpp @@ -352,8 +352,8 @@ void ShapeEditor::delete_nodes_preserving_shape () { } } -void ShapeEditor::set_node_type(Inkscape::NodePath::NodeType type) { - sp_node_selected_set_type(type); // FIXME fix that function by removing nodepath_current lookup, and pass it this->nodepath instead (needs fixing verbs/buttons first) +void ShapeEditor::set_node_type(int type) { + sp_node_selected_set_type((Inkscape::NodePath::NodeType) type); // FIXME fix that function by removing nodepath_current lookup, and pass it this->nodepath instead (needs fixing verbs/buttons first) } void ShapeEditor::break_at_nodes() { diff --git a/src/shape-editor.h b/src/shape-editor.h index bd93668f7..37117331b 100644 --- a/src/shape-editor.h +++ b/src/shape-editor.h @@ -17,7 +17,6 @@ namespace Inkscape { namespace NodePath { class Path; -typedef enum NodeType; } } @@ -80,7 +79,7 @@ public: void delete_nodes(); void delete_nodes_preserving_shape(); - void set_node_type(Inkscape::NodePath::NodeType type); + void set_node_type(int type); void break_at_nodes(); void join_nodes(); |
