use double callback for double data. Why repeat count is a double, we'll

* plug-ins/common/blur.c: use double callback for double data.
        Why repeat count is a double, we'll never know.

        * plug-ins/perl/examples/xachshadow
        * plug-ins/perl/examples/xachlego: set non-zero limits on some
        parameters.

This patch brought to you by the NT Administators Guild of Austria, and
Marduk the Creator.  Go bravely with Anhur!
This commit is contained in:
Kevin Turner 2000-10-12 09:38:15 +00:00
parent 9e3d3c64f0
commit 5ab5748191
4 changed files with 17 additions and 5 deletions

View file

@ -1,3 +1,15 @@
2000-10-12 Kevin Turner <acapnotic@users.sourceforge.net>
(applying patch from maru)
* plug-ins/common/blur.c: use double callback for double data.
Why repeat count is a double, we'll never know.
* plug-ins/perl/examples/xachshadow
* plug-ins/perl/examples/xachlego: set non-zero limits on some
parameters.
2000-10-09 Michael Natterer <mitch@gimp.org>
* gimp_splash.ppm: A nicer one (this time without

View file

@ -657,7 +657,7 @@ blur_dialog (void)
TRUE, 0, 0,
_("Percentage of pixels to be filtered"), NULL);
gtk_signal_connect (GTK_OBJECT (adj), "value_changed",
GTK_SIGNAL_FUNC (gimp_int_adjustment_update),
GTK_SIGNAL_FUNC (gimp_double_adjustment_update),
&pivals.blur_pct);
/*
@ -669,7 +669,7 @@ blur_dialog (void)
TRUE, 0, 0,
_("Number of times to apply filter"), NULL);
gtk_signal_connect (GTK_OBJECT (adj), "value_changed",
GTK_SIGNAL_FUNC (gimp_int_adjustment_update),
GTK_SIGNAL_FUNC (gimp_double_adjustment_update),
&pivals.blur_rcount);
gtk_widget_show (frame);

View file

@ -45,8 +45,8 @@ register "xach_blocks",
N_"<Image>/Filters/Map/Xach Blocks...",
"*",
[
[PF_SLIDER, "block_size", "The size of the blocks", 10, [0, 255, 1]],
[PF_SLIDER, "knob_factor", "The size of your knob", 40, [0, 100, 5]],
[PF_SLIDER, "block_size", "The size of the blocks", 10, [2, 255, 1]],
[PF_SLIDER, "knob_factor", "The size of your knob", 40, [10, 100, 5]],
],
sub {
my($img,$drawable,$blocksize, $knobfactor)=@_;

View file

@ -40,7 +40,7 @@ register "xach_shadows",
N_"<Image>/Filters/Map/Xach Shadows...",
"RGB*, GRAY*",
[
[PF_SLIDER, "block_size", "The size of the blocks...", 10, [0, 255, 1]],
[PF_SLIDER, "block_size", "The size of the blocks...", 10, [4, 255, 1]],
],
sub {
my($img,$drawable,$blocksize) =@_;