[gimp] Add some comment to group the functions



commit 5de2482526a77e32782799b216aae6030f340c11
Author: Michael Natterer <mitch gimp org>
Date:   Sun Feb 7 19:21:42 2010 +0100

    Add some comment to group the functions

 app/core/gimpimage.c |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimpimage.c b/app/core/gimpimage.c
index 1c39687..b28201d 100644
--- a/app/core/gimpimage.c
+++ b/app/core/gimpimage.c
@@ -2977,6 +2977,9 @@ gimp_image_get_vectors_list (const GimpImage *image)
   return gimp_item_stack_get_item_list (stack);
 }
 
+
+/*  active drawable, layer, channel, vectors  */
+
 GimpDrawable *
 gimp_image_get_active_drawable (const GimpImage *image)
 {
@@ -3183,6 +3186,9 @@ gimp_image_set_active_vectors (GimpImage   *image,
   return gimp_image_get_active_vectors (image);
 }
 
+
+/*  layer, channel, vectors by tattoo  */
+
 GimpLayer *
 gimp_image_get_layer_by_tattoo (const GimpImage *image,
                                 GimpTattoo       tattoo)
@@ -3222,6 +3228,9 @@ gimp_image_get_vectors_by_tattoo (const GimpImage *image,
   return GIMP_VECTORS (gimp_item_stack_get_item_by_tattoo (stack, tattoo));
 }
 
+
+/*  layer, channel, vectors by name  */
+
 GimpLayer *
 gimp_image_get_layer_by_name (const GimpImage *image,
                               const gchar     *name)
@@ -3264,6 +3273,9 @@ gimp_image_get_vectors_by_name (const GimpImage *image,
   return GIMP_VECTORS (gimp_item_tree_get_item_by_name (tree, name));
 }
 
+
+/*  layers  */
+
 gboolean
 gimp_image_add_layer (GimpImage *image,
                       GimpLayer *layer,
@@ -3627,6 +3639,9 @@ gimp_image_reorder_layer (GimpImage   *image,
                                       push_undo, undo_desc);
 }
 
+
+/*  channels  */
+
 gboolean
 gimp_image_add_channel (GimpImage   *image,
                         GimpChannel *channel,
@@ -3839,6 +3854,9 @@ gimp_image_reorder_channel (GimpImage   *image,
                                       push_undo, undo_desc);
 }
 
+
+/*  vectors  */
+
 gboolean
 gimp_image_add_vectors (GimpImage   *image,
                         GimpVectors *vectors,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]