Commit 8b59fe87 authored by Simon Budig's avatar Simon Budig Committed by Simon Budig

app/gui/vectors-commands.c app/tools/gimpvectortool.c fixed a name of a

2002-02-26  Simon Budig  <simon@gimp.org>

        * app/gui/vectors-commands.c
        * app/tools/gimpvectortool.c
        * app/tools/gimpvectortool.h: fixed a name of a function
        and corrected gimp_vector_tool_set_vectors.
parent a2bd2ac2
2002-02-26 Simon Budig <simon@gimp.org>
* app/gui/vectors-commands.c
* app/tools/gimpvectortool.c
* app/tools/gimpvectortool.h: fixed a name of a function
and corrected gimp_vector_tool_set_vectors.
2002-02-26 Michael Natterer <mitch@gimp.org>
Added some kind of paint core registry. It's ugly and will change...
......
......@@ -617,7 +617,7 @@ vectors_edit_vectors_query (GimpVectors *vectors)
active_tool = tool_manager_get_active (gimp);
}
gimp_vectors_tool_set_vectors (GIMP_VECTOR_TOOL (active_tool), vectors);
gimp_vector_tool_set_vectors (GIMP_VECTOR_TOOL (active_tool), vectors);
return;
}
......
......@@ -617,7 +617,7 @@ vectors_edit_vectors_query (GimpVectors *vectors)
active_tool = tool_manager_get_active (gimp);
}
gimp_vectors_tool_set_vectors (GIMP_VECTOR_TOOL (active_tool), vectors);
gimp_vector_tool_set_vectors (GIMP_VECTOR_TOOL (active_tool), vectors);
return;
}
......
......@@ -523,8 +523,8 @@ vector_tool_options_reset (GimpToolOptions *tool_options)
void
gimp_vectors_tool_set_vectors (GimpVectorTool *vector_tool,
GimpVectors *vectors)
gimp_vector_tool_set_vectors (GimpVectorTool *vector_tool,
GimpVectors *vectors)
{
g_return_if_fail (GIMP_IS_VECTOR_TOOL (vector_tool));
g_return_if_fail (GIMP_IS_VECTORS (vectors));
......@@ -535,6 +535,8 @@ gimp_vectors_tool_set_vectors (GimpVectorTool *vector_tool,
g_object_unref (G_OBJECT (vector_tool->vectors));
vector_tool->vectors = vectors;
vector_tool->cur_stroke = NULL;
vector_tool->cur_anchor = NULL;
if (vector_tool->vectors)
g_object_ref (G_OBJECT (vector_tool->vectors));
......
......@@ -70,7 +70,7 @@ void gimp_vector_tool_register (Gimp *gimp,
GType gimp_vector_tool_get_type (void) G_GNUC_CONST;
void gimp_vectors_tool_set_vectors (GimpVectorTool *vector_tool,
GimpVectors *vectors);
void gimp_vector_tool_set_vectors (GimpVectorTool *vector_tool,
GimpVectors *vectors);
#endif /* __GIMP_VECTOR_TOOL_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment