mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
pdb: remove all deprecated procedures
This commit is contained in:
parent
9525c646e1
commit
f180a171cd
89 changed files with 99 additions and 21324 deletions
|
@ -392,36 +392,6 @@ gimp_drawable_offsets (gint32 drawable_ID,
|
|||
return success;
|
||||
}
|
||||
|
||||
/**
|
||||
* gimp_drawable_set_image:
|
||||
* @drawable_ID: The drawable.
|
||||
* @image_ID: The image.
|
||||
*
|
||||
* Deprecated: There is no replacement for this procedure.
|
||||
*
|
||||
* Returns: TRUE on success.
|
||||
**/
|
||||
gboolean
|
||||
gimp_drawable_set_image (gint32 drawable_ID,
|
||||
gint32 image_ID)
|
||||
{
|
||||
GimpParam *return_vals;
|
||||
gint nreturn_vals;
|
||||
gboolean success = TRUE;
|
||||
|
||||
return_vals = gimp_run_procedure ("gimp-drawable-set-image",
|
||||
&nreturn_vals,
|
||||
GIMP_PDB_DRAWABLE, drawable_ID,
|
||||
GIMP_PDB_IMAGE, image_ID,
|
||||
GIMP_PDB_END);
|
||||
|
||||
success = return_vals[0].data.d_status == GIMP_PDB_SUCCESS;
|
||||
|
||||
gimp_destroy_params (return_vals, nreturn_vals);
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
/**
|
||||
* gimp_drawable_mask_bounds:
|
||||
* @drawable_ID: The drawable.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue