allow maximum jitter of 5.0.

2006-02-20  Simon Budig  <simon@gimp.org>

	* app/tools/gimppaintoptions-gui.c: allow maximum jitter of 5.0.
This commit is contained in:
Simon Budig 2006-02-20 17:25:53 +00:00 committed by Simon Budig
parent 139d40acdb
commit bfdcee3e21
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2006-02-20 Simon Budig <simon@gimp.org>
* app/tools/gimppaintoptions-gui.c: allow maximum jitter of 5.0.
2006-02-20 Sven Neumann <sven@gimp.org>
* app/config/gimpcoreconfig.[ch]

View File

@ -159,7 +159,7 @@ gimp_paint_options_gui (GimpToolOptions *tool_options)
}
frame = jitter_options_gui (options->jitter_options,
options, tool_type);
options, tool_type);
if (frame)
{
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
@ -374,8 +374,8 @@ fade_options_gui (GimpFadeOptions *fade,
static GtkWidget *
jitter_options_gui (GimpJitterOptions *jitter,
GimpPaintOptions *paint_options,
GType tool_type)
GimpPaintOptions *paint_options,
GType tool_type)
{
GObject *config = G_OBJECT (paint_options);
GtkWidget *frame = NULL;
@ -412,7 +412,7 @@ jitter_options_gui (GimpJitterOptions *jitter,
GTK_TABLE (table), 0, 0,
_("Amount:"),
0.01, 0.1, 2,
TRUE, 0.0, 2.0);
TRUE, 0.0, 5.0);
}
return frame;