Drop a couple of unused variables.

2004-07-04  Tor Lillqvist  <tml@iki.fi>

	* app/core/gimpdrawable-equalize.c (gimp_drawable_equalize): Drop
	a couple of unused variables.

	* libgimpmodule/gimpmodule.def: Add gimp_module_register_enum.
This commit is contained in:
Tor Lillqvist 2004-07-04 18:12:22 +00:00 committed by Tor Lillqvist
parent b08e39d65b
commit ffa1d155c8
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2004-07-04 Tor Lillqvist <tml@iki.fi>
* app/core/gimpdrawable-equalize.c (gimp_drawable_equalize): Drop
a couple of unused variables.
* libgimpmodule/gimpmodule.def: Add gimp_module_register_enum.
2004-07-04 Sven Neumann <sven@gimp.org>
* libgimpmodule/gimpmodule.[ch]: added gimp_module_register_enum(),

View File

@ -45,8 +45,7 @@ gimp_drawable_equalize (GimpDrawable *drawable,
{
PixelRegion srcPR, destPR;
guchar *mask;
gint has_alpha;
gint alpha, bytes;
gint bytes;
gint x1, y1, x2, y2;
GimpHistogram *hist;
GimpLut *lut;
@ -57,8 +56,6 @@ gimp_drawable_equalize (GimpDrawable *drawable,
mask = NULL;
bytes = gimp_drawable_bytes (drawable);
has_alpha = gimp_drawable_has_alpha (drawable);
alpha = has_alpha ? (bytes - 1) : bytes;
gimage = gimp_item_get_image (GIMP_ITEM (drawable));

View File

@ -12,5 +12,6 @@ EXPORTS
gimp_module_modified
gimp_module_new
gimp_module_query_module
gimp_module_register_enum
gimp_module_set_load_inhibit
gimp_module_state_name