Remove gimp_image_get_layer,channel,vectors_by_index()
The don't make sense any longer with item trees and I just fixed the last places where they were used.
This commit is contained in:
parent
3c76b2797b
commit
ec21c2880c
2 changed files with 0 additions and 37 deletions
|
|
@ -2883,36 +2883,6 @@ gimp_image_set_active_vectors (GimpImage *image,
|
|||
return image->active_vectors;
|
||||
}
|
||||
|
||||
GimpLayer *
|
||||
gimp_image_get_layer_by_index (const GimpImage *image,
|
||||
gint index)
|
||||
{
|
||||
g_return_val_if_fail (GIMP_IS_IMAGE (image), NULL);
|
||||
|
||||
return (GimpLayer *) gimp_container_get_child_by_index (image->layers,
|
||||
index);
|
||||
}
|
||||
|
||||
GimpChannel *
|
||||
gimp_image_get_channel_by_index (const GimpImage *image,
|
||||
gint index)
|
||||
{
|
||||
g_return_val_if_fail (GIMP_IS_IMAGE (image), NULL);
|
||||
|
||||
return (GimpChannel *) gimp_container_get_child_by_index (image->channels,
|
||||
index);
|
||||
}
|
||||
|
||||
GimpVectors *
|
||||
gimp_image_get_vectors_by_index (const GimpImage *image,
|
||||
gint index)
|
||||
{
|
||||
g_return_val_if_fail (GIMP_IS_IMAGE (image), NULL);
|
||||
|
||||
return (GimpVectors *) gimp_container_get_child_by_index (image->vectors,
|
||||
index);
|
||||
}
|
||||
|
||||
GimpLayer *
|
||||
gimp_image_get_layer_by_tattoo (const GimpImage *image,
|
||||
GimpTattoo tattoo)
|
||||
|
|
|
|||
|
|
@ -446,13 +446,6 @@ GimpChannel * gimp_image_unset_active_channel (GimpImage *image);
|
|||
GimpVectors * gimp_image_set_active_vectors (GimpImage *image,
|
||||
GimpVectors *vectors);
|
||||
|
||||
GimpLayer * gimp_image_get_layer_by_index (const GimpImage *image,
|
||||
gint index);
|
||||
GimpChannel * gimp_image_get_channel_by_index (const GimpImage *image,
|
||||
gint index);
|
||||
GimpVectors * gimp_image_get_vectors_by_index (const GimpImage *image,
|
||||
gint index);
|
||||
|
||||
GimpLayer * gimp_image_get_layer_by_tattoo (const GimpImage *image,
|
||||
GimpTattoo tattoo);
|
||||
GimpChannel * gimp_image_get_channel_by_tattoo (const GimpImage *image,
|
||||
|
|
|
|||
Loading…
Reference in a new issue