Commit 1799caae authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

forgot two more s/int32/enum/.

2004-06-02  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/gradient_edit.pdb: forgot two more s/int32/enum/.

	* app/pdb/gradient_edit_cmds.c
	* libgimp/gimpgradientedit_pdb.[ch]: regenerated.
parent 739a37e6
2004-06-02 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/gradient_edit.pdb: forgot two more s/int32/enum/.
* app/pdb/gradient_edit_cmds.c
* libgimp/gimpgradientedit_pdb.[ch]: regenerated.
2004-06-01 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/image.pdb
......
......@@ -1204,7 +1204,7 @@ static ProcArg gradient_segment_get_blending_function_outargs[] =
{
GIMP_PDB_INT32,
"blend_func",
"The blending function of the segment"
"The blending function of the segment: { GIMP_GRADIENT_SEGMENT_LINEAR (0), GIMP_GRADIENT_SEGMENT_CURVED (1), GIMP_GRADIENT_SEGMENT_SINE (2), GIMP_GRADIENT_SEGMENT_SPHERE_INCREASING (3), GIMP_GRADIENT_SEGMENT_SPHERE_DECREASING (4) }"
}
};
......@@ -1422,7 +1422,7 @@ static ProcArg gradient_segment_get_coloring_type_outargs[] =
{
GIMP_PDB_INT32,
"coloring_type",
"The coloring type of the segment"
"The coloring type of the segment: { GIMP_GRADIENT_SEGMENT_RGB (0), GIMP_GRADIENT_SEGMENT_HSV_CCW (1), GIMP_GRADIENT_SEGMENT_HSV_CW (2) }"
}
};
......
......@@ -473,9 +473,9 @@ gimp_gradient_segment_set_right_pos (const gchar *name,
* Returns: TRUE on success.
*/
gboolean
gimp_gradient_segment_get_blending_function (const gchar *name,
gint segment,
gint *blend_func)
gimp_gradient_segment_get_blending_function (const gchar *name,
gint segment,
GimpGradientSegmentType *blend_func)
{
GimpParam *return_vals;
gint nreturn_vals;
......@@ -552,9 +552,9 @@ gimp_gradient_segment_set_blending_function (const gchar *name,
* Returns: TRUE on success.
*/
gboolean
gimp_gradient_segment_get_coloring_type (const gchar *name,
gint segment,
gint *coloring_type)
gimp_gradient_segment_get_coloring_type (const gchar *name,
gint segment,
GimpGradientSegmentColor *coloring_type)
{
GimpParam *return_vals;
gint nreturn_vals;
......
......@@ -68,14 +68,14 @@ gboolean gimp_gradient_segment_set_right_pos (const gchar
gdouble *final_pos);
gboolean gimp_gradient_segment_get_blending_function (const gchar *name,
gint segment,
gint *blend_func);
GimpGradientSegmentType *blend_func);
gboolean gimp_gradient_segment_set_blending_function (const gchar *name,
gint start_segment,
gint end_segment,
GimpGradientSegmentType blending_function);
gboolean gimp_gradient_segment_get_coloring_type (const gchar *name,
gint segment,
gint *coloring_type);
GimpGradientSegmentColor *coloring_type);
gboolean gimp_gradient_segment_set_coloring_type (const gchar *name,
gint start_segment,
gint end_segment,
......
......@@ -302,9 +302,9 @@ HELP
@inargs = &_grad_and_seg_params;
@outargs = (
{ name => 'blend_func', type => "int32",
desc => "The blending function of the segment", void_ret => 1,
init => 1 }
{ name => 'blend_func', type => 'enum GimpGradientSegmentType',
desc => "The blending function of the segment: { %%desc%% }",
void_ret => 1, init => 1 }
);
%invoke = (
......@@ -329,9 +329,9 @@ HELP
@inargs = &_grad_and_seg_params;
@outargs = (
{ name => 'coloring_type', type => "int32",
desc => "The coloring type of the segment", void_ret => 1,
init => 1 }
{ name => 'coloring_type', type => 'enum GimpGradientSegmentColor',
desc => "The coloring type of the segment: { %%desc%% }",
void_ret => 1, init => 1 }
);
%invoke = (
......
......@@ -302,9 +302,9 @@ HELP
@inargs = &_grad_and_seg_params;
@outargs = (
{ name => 'blend_func', type => "int32",
desc => "The blending function of the segment", void_ret => 1,
init => 1 }
{ name => 'blend_func', type => 'enum GimpGradientSegmentType',
desc => "The blending function of the segment: { %%desc%% }",
void_ret => 1, init => 1 }
);
%invoke = (
......@@ -329,9 +329,9 @@ HELP
@inargs = &_grad_and_seg_params;
@outargs = (
{ name => 'coloring_type', type => "int32",
desc => "The coloring type of the segment", void_ret => 1,
init => 1 }
{ name => 'coloring_type', type => 'enum GimpGradientSegmentColor',
desc => "The coloring type of the segment: { %%desc%% }",
void_ret => 1, init => 1 }
);
%invoke = (
......
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