Commit 44e155c9 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

set the minimum grid size to 1. Fixes bug #450001.

2007-06-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/align_layers.c: set the minimum grid size to 1.
	Fixes bug #450001.

svn path=/trunk/; revision=22825
parent a42d1b45
2007-06-22 Sven Neumann <sven@gimp.org>
* plug-ins/common/align_layers.c: set the minimum grid size to 1.
Fixes bug #450001.
2007-06-22 Martin Nordholts <martinn@svn.gnome.org>
 
* app/core/gimpprojection-construct.c (gimp_projection_initialize): Only
......@@ -172,6 +172,7 @@ run (const gchar *name,
return;
}
gimp_get_data (PLUG_IN_PROC, &VALS);
VALS.grid_size = MAX (VALS.grid_size, 1);
if (! align_layers_dialog ())
return;
break;
......@@ -481,7 +482,7 @@ align_layers_dialog (void)
adj = gimp_scale_entry_new (GTK_TABLE (table), 0, 4,
_("_Grid size:"), SCALE_WIDTH, 0,
VALS.grid_size, 0, 200, 1, 10, 0,
VALS.grid_size, 1, 200, 1, 10, 0,
TRUE, 0, 0,
NULL, NULL);
g_signal_connect (adj, "value-changed",
......
Markdown is supported
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