fixed non-interactive call.

2004-03-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/MapObject/mapobject_main.c: fixed non-interactive call.

	* plug-ins/script-fu/scripts/spinning-globe.scm: pass -1 as
	drawable ID for unused drawables. Fixes bug #138253.
This commit is contained in:
Sven Neumann 2004-03-28 15:41:31 +00:00 committed by Sven Neumann
parent dd94d1cb05
commit 0c30397541
3 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,10 @@
2004-03-28 Sven Neumann <sven@gimp.org>
* plug-ins/MapObject/mapobject_main.c: fixed non-interactive call.
* plug-ins/script-fu/scripts/spinning-globe.scm: pass -1 as
drawable ID for unused drawables. Fixes bug #138253.
2004-03-28 Sven Neumann <sven@gimp.org>
* app/text/gimpfontlist.c (gimp_font_list_add_font): validate the

View File

@ -310,12 +310,10 @@ run (const gchar *name,
mapvals.cylinder_length = param[40].data.d_float;
for (i = 0; i < 6; i++)
mapvals.boxmap_id[i] =
gimp_drawable_get (param[41+i].data.d_drawable)->drawable_id;
mapvals.boxmap_id[i] = param[41+i].data.d_drawable;
for (i = 0; i < 2; i++)
mapvals.cylindermap_id[i] =
gimp_drawable_get (param[47+i].data.d_drawable)->drawable_id;
mapvals.cylindermap_id[i] = param[47+i].data.d_drawable;
check_drawables (drawable);
image_setup (drawable, FALSE);

View File

@ -79,7 +79,7 @@
0.25
; unused parameters
1.0 1.0 1.0 1.0
0 0 0 0 0 0 0 0)
-1 -1 -1 -1 -1 -1 -1 -1)
; end while:
)
(gimp-image-remove-layer theImage theLayer)