mirror of https://github.com/GNOME/gimp.git
pdb: Some fixes to the commit that added gimp_layer_group_new()
This commit is contained in:
parent
805a971d99
commit
3cb6632963
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue