mirror of https://github.com/GNOME/gimp.git
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:
parent
b08e39d65b
commit
ffa1d155c8
|
@ -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(),
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue