[gimp] pdb: Some fixes to the commit that added gimp_layer_group_new()
- From: Barak Itkin <barakitkin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] pdb: Some fixes to the commit that added gimp_layer_group_new()
- Date: Tue, 14 Sep 2010 22:19:17 +0000 (UTC)
commit 3cb663296386573f015c163a8a537dc50a51e535
Author: Barak Itkin <lightningismyname gmail com>
Date: Wed Sep 15 00:00:49 2010 +0200
pdb: Some fixes to the commit that added gimp_layer_group_new()
libgimp/gimplayer.c | 38 +++++++++++++++++++-------------------
libgimp/gimplayer.h | 2 ++
2 files changed, 21 insertions(+), 19 deletions(-)
---
diff --git a/libgimp/gimplayer.c b/libgimp/gimplayer.c
index f87f38b..6774c70 100644
--- a/libgimp/gimplayer.c
+++ b/libgimp/gimplayer.c
@@ -83,6 +83,25 @@ gimp_layer_copy (gint32 layer_ID)
}
/**
+ * 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);
-}
diff --git a/libgimp/gimplayer.h b/libgimp/gimplayer.h
index 7abc45a..a3fcd5b 100644
--- a/libgimp/gimplayer.h
+++ b/libgimp/gimplayer.h
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]