libgimp: remove deprecated metadata functions

This commit is contained in:
Michael Natterer
2019-08-27 18:41:22 +02:00
parent b6b84f7afa
commit 91d9e4d08f
3 changed files with 0 additions and 50 deletions

View File

@ -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);
}