pdb: Some fixes to the commit that added gimp_layer_group_new()

This commit is contained in:
Barak Itkin 2010-09-15 00:00:49 +02:00
parent 805a971d99
commit 3cb6632963
2 changed files with 21 additions and 19 deletions

View File

@ -82,6 +82,25 @@ gimp_layer_copy (gint32 layer_ID)
return _gimp_layer_copy (layer_ID, FALSE);
}
/**
* gimp_layer_group_new:
* @image_ID: The image to which to add the layer.
*
* Create a new layer group.
*
* This procedure creates a new layer group. Attributes such as layer
* mode and opacity should be set with explicit procedure calls. Add
* the new layer group (which is a kind of layer) with the
* gimp_image_insert_layer() command.
*
* Returns: The newly created layer group.
*/
gint32
gimp_layer_group_new (gint32 image_ID)
{
return _gimp_layer_group_new (image_ID);
}
/**
* gimp_layer_get_preserve_trans:
* @layer_ID: The layer.
@ -111,22 +130,3 @@ gimp_layer_set_preserve_trans (gint32 layer_ID,
{
return gimp_layer_set_lock_alpha (layer_ID, preserve_trans);
}
/**
* gimp_layer_group_new:
* @image_ID: The image to which to add the layer.
*
* Create a new layer group.
*
* This procedure creates a new layer group. Attributes such as layer
* mode and opacity should be set with explicit procedure calls. Add
* the new layer group (which is a kind of layer) with the
* gimp_image_insert_layer() command.
*
* Returns: The newly created layer group.
*/
gint32
gimp_layer_group_new (gint32 image_ID)
{
return _gimp_layer_group_new (image_ID);
}

View File

@ -34,6 +34,8 @@ gint32 gimp_layer_new (gint32 image_ID,
gdouble opacity,
GimpLayerModeEffects mode);
gint32 gimp_layer_copy (gint32 layer_ID);
gint32 gimp_layer_group_new (gint32 image_ID);
#ifndef GIMP_DISABLE_DEPRECATED
gboolean gimp_layer_get_preserve_trans (gint32 layer_ID);