mirror of https://github.com/GNOME/gimp.git
Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimplevelstool.c: removed two small chunks of code. Fixes bug #141930. Possibly unfixes bug #132322.
This commit is contained in:
parent
8fbd374684
commit
d6428d61ab
|
@ -1,7 +1,12 @@
|
|||
2004-06-27 Bill Skaggs <weskaggs@primate.ucdavis.edu>
|
||||
|
||||
* app/tools/gimplevelstool.c: removed two small chunks of code.
|
||||
Fixes bug #141930. Possibly unfixes bug #132322.
|
||||
|
||||
2004-06-27 Michael Schumacher <schumaml@cvs.gnome.org>
|
||||
|
||||
* libgimp/gimp.def: added _gimp_tile_cache_flush_drawable because
|
||||
it is used in a plug-in. See bug 145051.
|
||||
it is used in a plug-in. See bug #145051.
|
||||
|
||||
2004-06-26 Philip Lafleur <plafleur@cvs.gnome.org>
|
||||
|
||||
|
|
|
@ -308,9 +308,6 @@ gimp_levels_tool_initialize (GimpTool *tool,
|
|||
gimp_int_combo_box_set_active (GIMP_INT_COMBO_BOX (l_tool->channel_menu),
|
||||
l_tool->channel);
|
||||
|
||||
if (! l_tool->color && l_tool->alpha)
|
||||
l_tool->channel = 1;
|
||||
|
||||
levels_update (l_tool, ALL);
|
||||
|
||||
gimp_drawable_calculate_histogram (drawable, l_tool->hist);
|
||||
|
@ -910,10 +907,6 @@ levels_channel_callback (GtkWidget *widget,
|
|||
gimp_histogram_view_set_channel (GIMP_HISTOGRAM_VIEW (tool->hist_view),
|
||||
tool->channel);
|
||||
|
||||
/* FIXME: hack */
|
||||
if (! tool->color && tool->alpha)
|
||||
tool->channel = (tool->channel > 1) ? 2 : 1;
|
||||
|
||||
levels_update (tool, ALL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue