Bug 155733 - need to check return values of gimp_drawable_mask_bounds()
Remove calls to gimp_drawable_mask_bounds() from most plug-ins. This just leaves a python gimp interface plug-in.
This commit is contained in:

committed by
Michael Natterer

parent
f4cb2dd881
commit
cfa9132c4d
@ -251,8 +251,8 @@ run (const gchar *name,
|
||||
case GIMP_RUN_WITH_LAST_VALS:
|
||||
gimp_get_data (PLUG_IN_PROC, &mapvals);
|
||||
check_drawables (drawable);
|
||||
image_setup (drawable, FALSE);
|
||||
compute_image ();
|
||||
if (image_setup (drawable, FALSE))
|
||||
compute_image ();
|
||||
break;
|
||||
|
||||
case GIMP_RUN_NONINTERACTIVE:
|
||||
@ -309,8 +309,8 @@ run (const gchar *name,
|
||||
mapvals.cylindermap_id[i] = param[47+i].data.d_drawable;
|
||||
|
||||
check_drawables (drawable);
|
||||
image_setup (drawable, FALSE);
|
||||
compute_image ();
|
||||
if (image_setup (drawable, FALSE))
|
||||
compute_image ();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user