Bucket fill threshold=0 must be allowed.

2001-03-22  Stanislav Brabec  <utx@penguin.cz>

        * app/tools/gimpbucketfilltool.c: Bucket fill threshold=0 must
        be allowed.
This commit is contained in:
Stanislav Brabec 2001-03-21 23:27:48 +00:00 committed by Stanislav Brabec
parent 553f6d4259
commit c896716259
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-03-22 Stanislav Brabec <utx@penguin.cz>
* app/tools/gimpbucketfilltool.c: Bucket fill threshold=0 must
be allowed.
2001-03-18 Sven Neumann <sven@gimp.org>
* tools/pdbgen/app.pl: guard inclusion of <process.h> by G_OS_WIN32

View File

@ -263,7 +263,7 @@ bucket_options_new (void)
gtk_widget_show (label);
options->threshold_w =
gtk_adjustment_new (default_threshold, 1.0, 255.0, 1.0, 1.0, 0.0);
gtk_adjustment_new (default_threshold, 0.0, 255.0, 1.0, 1.0, 0.0);
scale = gtk_hscale_new (GTK_ADJUSTMENT (options->threshold_w));
gtk_box_pack_start (GTK_BOX (hbox), scale, TRUE, TRUE, 0);
gtk_scale_set_value_pos (GTK_SCALE (scale), GTK_POS_TOP);