From ebf545db8daba21cab462d566f8dacf4ebe5006c Mon Sep 17 00:00:00 2001 From: bulia byak Date: Tue, 13 Feb 2007 18:13:26 +0000 Subject: removing forward declaration of a enum - is it valid at all? at least it worked for me (bzr r2375) --- src/shape-editor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shape-editor.cpp') 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() { -- cgit v1.2.3