Commit c81391e9 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

the "blue" variable should not be connected to the "red" adjustment

2000-01-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c: the "blue" variable should
	not be connected to the "red" adjustment (Thanks to Peter Kämpf
	<pkaempf@box.echo.ch>), fixed the initial size of the "number of
	colors" preview.
parent 497ba1ec
2000-01-30 Michael Natterer <mitch@gimp.org>
* plug-ins/FractalExplorer/Dialogs.c: the "blue" variable should
not be connected to the "red" adjustment (Thanks to Peter Kämpf
<pkaempf@box.echo.ch>), fixed the initial size of the "number of
colors" preview.
2000-01-30 Michael Natterer <mitch@gimp.org>
 
* plug-ins/FractalExplorer/*:
......
......@@ -699,7 +699,7 @@ explorer_dialog (void)
_("Blue:"), SCALE_WIDTH, 0,
wvals.bluestretch, 0, 1, 0.01, 0.1, 2,
_("Change the intensity of the blue channel"), NULL);
gtk_signal_connect (GTK_OBJECT (elements->red), "value_changed",
gtk_signal_connect (GTK_OBJECT (elements->blue), "value_changed",
GTK_SIGNAL_FUNC (explorer_double_adjustment_update),
&wvals.bluestretch);
......@@ -902,9 +902,9 @@ explorer_dialog (void)
{
gint xsize, ysize;
for (ysize = 1; ysize * ysize * ysize < wvals.ncolors; ysize++) /**/;
for (ysize = 1; ysize * ysize * ysize < 8192; ysize++) /**/;
xsize = wvals.ncolors / ysize;
while (xsize * ysize < wvals.ncolors) xsize++;
while (xsize * ysize < 8192) xsize++;
gtk_widget_set_usize (abox, xsize, ysize * 4);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment