libgimp: remove deprecated metadata functions
This commit is contained in:
@ -714,44 +714,3 @@ gimp_image_set_colormap_deprecated (gint32 image_id,
|
||||
return gimp_image_set_colormap (gimp_image_get_by_id (image_id),
|
||||
colormap, num_colors);
|
||||
}
|
||||
|
||||
/**
|
||||
* gimp_image_get_metadata_deprecated: (skip)
|
||||
* @image_id: The image.
|
||||
*
|
||||
* Returns the image's metadata.
|
||||
*
|
||||
* Returns exif/iptc/xmp metadata from the image.
|
||||
*
|
||||
* Returns: (nullable) (transfer full): The exif/ptc/xmp metadata,
|
||||
* or %NULL if there is none.
|
||||
*
|
||||
* Since: 2.10
|
||||
**/
|
||||
GimpMetadata *
|
||||
gimp_image_get_metadata_deprecated (gint32 image_id)
|
||||
{
|
||||
return gimp_image_get_metadata (gimp_image_get_by_id (image_id));
|
||||
}
|
||||
|
||||
/**
|
||||
* gimp_image_set_metadata_deprecated: (skip)
|
||||
* @image_id: The image.
|
||||
* @metadata: The exif/ptc/xmp metadata.
|
||||
*
|
||||
* Set the image's metadata.
|
||||
*
|
||||
* Sets exif/iptc/xmp metadata on the image, or deletes it if
|
||||
* @metadata is %NULL.
|
||||
*
|
||||
* Returns: TRUE on success.
|
||||
*
|
||||
* Since: 2.10
|
||||
**/
|
||||
gboolean
|
||||
gimp_image_set_metadata_deprecated (gint32 image_id,
|
||||
GimpMetadata *metadata)
|
||||
{
|
||||
return gimp_image_set_metadata (gimp_image_get_by_id (image_id),
|
||||
metadata);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user