Commit 17e0ee41 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

to_levels_cruft() -> to_cruft().

2008-01-23  Michael Natterer  <mitch@gimp.org>

	* app/gegl/gimplevelsconfig.[ch]: to_levels_cruft() -> to_cruft().

	* app/core/gimpdrawable-levels.c
	* app/tools/gimplevelstool.c: changed accordingly.


svn path=/trunk/; revision=24692
parent 61b2d2c4
2008-01-23 Michael Natterer <mitch@gimp.org>
* app/gegl/gimplevelsconfig.[ch]: to_levels_cruft() -> to_cruft().
* app/core/gimpdrawable-levels.c
* app/tools/gimplevelstool.c: changed accordingly.
2008-01-23 Michael Natterer <mitch@gimp.org>
* app/tools/gimphuesaturationtool.c: change signature of widget
......
......@@ -114,8 +114,8 @@ gimp_drawable_levels (GimpDrawable *drawable,
if (! gimp_drawable_mask_intersect (drawable, &x, &y, &width, &height))
return;
gimp_levels_config_to_levels_cruft (config, &levels,
gimp_drawable_is_rgb (drawable));
gimp_levels_config_to_cruft (config, &levels,
gimp_drawable_is_rgb (drawable));
lut = gimp_lut_new ();
gimp_lut_setup (lut,
......@@ -191,8 +191,8 @@ gimp_drawable_levels_stretch (GimpDrawable *drawable,
Levels levels;
GimpLut *lut;
gimp_levels_config_to_levels_cruft (config, &levels,
gimp_drawable_is_rgb (drawable));
gimp_levels_config_to_cruft (config, &levels,
gimp_drawable_is_rgb (drawable));
lut = gimp_lut_new ();
gimp_lut_setup (lut,
......
......@@ -417,9 +417,9 @@ gimp_levels_config_adjust_by_colors (GimpLevelsConfig *config,
/* temp cruft */
void
gimp_levels_config_to_levels_cruft (GimpLevelsConfig *config,
Levels *cruft,
gboolean is_color)
gimp_levels_config_to_cruft (GimpLevelsConfig *config,
Levels *cruft,
gboolean is_color)
{
GimpHistogramChannel channel;
......
......@@ -73,7 +73,7 @@ void gimp_levels_config_adjust_by_colors (GimpLevelsConfig *config,
const GimpRGB *white);
/* temp cruft */
void gimp_levels_config_to_levels_cruft (GimpLevelsConfig *config,
void gimp_levels_config_to_cruft (GimpLevelsConfig *config,
Levels *cruft,
gboolean is_color);
......
......@@ -284,7 +284,7 @@ gimp_levels_tool_map (GimpImageMapTool *image_map_tool)
GimpLevelsTool *tool = GIMP_LEVELS_TOOL (image_map_tool);
Levels levels;
gimp_levels_config_to_levels_cruft (tool->config, &levels, tool->color);
gimp_levels_config_to_cruft (tool->config, &levels, tool->color);
gimp_lut_setup (tool->lut,
(GimpLutFunc) levels_lut_func,
......
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