Commit 656e782c authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

allow to change the spacing of brushes the user doesn't have write access

2006-01-05  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/brush.pdb (gimp-brush-set-spacing): allow to
	change the spacing of brushes the user doesn't have write access
	to. The user interface allows to do that as well.

	* app/pdb/brush_cmds.c: regenerated.
parent 999f58b8
2006-01-05 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/brush.pdb (gimp-brush-set-spacing): allow to
change the spacing of brushes the user doesn't have write access
to. The user interface allows to do that as well.
* app/pdb/brush_cmds.c: regenerated.
2006-01-04 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/context.pdb: fixed docs for gimp-context-push/pop.
......
......@@ -826,7 +826,7 @@ brush_set_spacing_invoker (Gimp *gimp,
brush = (GimpBrush *)
gimp_container_get_child_by_name (gimp->brush_factory->container, name);
if (brush && GIMP_DATA (brush)->writable)
if (brush)
gimp_brush_set_spacing (brush, spacing);
else
success = FALSE;
......
......@@ -627,7 +627,7 @@ HELP
brush = (GimpBrush *)
gimp_container_get_child_by_name (gimp->brush_factory->container, name);
if (brush && GIMP_DATA (brush)->writable)
if (brush)
gimp_brush_set_spacing (brush, spacing);
else
success = FALSE;
......
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