Commit 9aa2efcb authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

use code from gimpdashpattern.c instead of duplicating it.

2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdasheditor.c: use code from gimpdashpattern.c
	instead of duplicating it.
parent 533481d2
2005-05-19 Sven Neumann <sven@gimp.org>
* app/widgets/gimpdasheditor.c: use code from gimpdashpattern.c
instead of duplicating it.
2005-05-19 Sven Neumann <sven@gimp.org>
* app/core/gimpdashpattern.[ch]
......@@ -6,7 +11,7 @@
2005-05-19 Sven Neumann <sven@gimp.org>
* app/core/Makefile.am
* app/core/gimpdashpattern.[ch]: new files with coode split out of
* app/core/gimpdashpattern.[ch]: new files with code split out of
gimpstrokeoptions.c.
* app/core/gimpstrokeoptions.c: use gimp_dash_pattern_from_preset().
......
......@@ -145,7 +145,7 @@ gimp_dash_pattern_from_value (const GValue *value)
}
void
gimp_dash_pattern_set_value (GArray *pattern,
gimp_dash_pattern_value_set (GArray *pattern,
GValue *value)
{
g_return_if_fail (G_VALUE_HOLDS_BOXED (value));
......
......@@ -26,7 +26,7 @@
GArray * gimp_dash_pattern_from_preset (GimpDashPreset preset);
GArray * gimp_dash_pattern_from_value (const GValue *value);
void gimp_dash_pattern_set_value (GArray *pattern,
void gimp_dash_pattern_value_set (GArray *pattern,
GValue *value);
......
......@@ -252,7 +252,7 @@ gimp_stroke_options_get_property (GObject *object,
g_value_set_double (value, options->dash_offset);
break;
case PROP_DASH_INFO:
gimp_dash_pattern_set_value (options->dash_info, value);
gimp_dash_pattern_value_set (options->dash_info, value);
break;
default:
......
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