Commit 7ba66f8e authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

the second parameter of gimp_drawable_levels_stretch() is now a

2008-05-05  Michael Natterer  <mitch@gimp.org>

	* app/actions/drawable-commands.c
	(drawable_levels_stretch_cmd_callback): the second parameter of
	gimp_drawable_levels_stretch() is now a GimpProgress.


svn path=/trunk/; revision=25570
parent c9587629
2008-05-05 Michael Natterer <mitch@gimp.org>
* app/actions/drawable-commands.c
(drawable_levels_stretch_cmd_callback): the second parameter of
gimp_drawable_levels_stretch() is now a GimpProgress.
2008-05-05 Sven Neumann <sven@gimp.org>
* plug-ins/common/unsharp-mask.c (gen_convolve_matrix): fixed
......
......@@ -138,10 +138,10 @@ drawable_levels_stretch_cmd_callback (GtkAction *action,
{
GimpImage *image;
GimpDrawable *drawable;
GimpContext *context;
GimpDisplay *display;
GtkWidget *widget;
return_if_no_drawable (image, drawable, data);
return_if_no_context (context, data);
return_if_no_display (display, data);
return_if_no_widget (widget, data);
if (! gimp_drawable_is_rgb (drawable))
......@@ -151,7 +151,7 @@ drawable_levels_stretch_cmd_callback (GtkAction *action,
return;
}
gimp_drawable_levels_stretch (drawable, context);
gimp_drawable_levels_stretch (drawable, GIMP_PROGRESS (display));
gimp_image_flush (image);
}
......
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