[gimp] Rename gimp_image_pick_correlate_layer() to gimp_image_pick_layer()



commit 6aadd0bbc9fc1b08ad616b529aad49d9828787af
Author: Michael Natterer <mitch gimp org>
Date:   Tue Aug 25 23:18:34 2009 +0200

    Rename gimp_image_pick_correlate_layer() to gimp_image_pick_layer()

 app/core/gimpimage.c          |    6 +++---
 app/core/gimpimage.h          |    2 +-
 app/pdb/image-cmds.c          |    2 +-
 app/tools/gimpmovetool.c      |   10 +++++-----
 app/tools/gimpselectiontool.c |    4 ++--
 tools/pdbgen/pdb/image.pdb    |    2 +-
 6 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/app/core/gimpimage.c b/app/core/gimpimage.c
index dbd2af1..8ec9c5a 100644
--- a/app/core/gimpimage.c
+++ b/app/core/gimpimage.c
@@ -4095,9 +4095,9 @@ gimp_image_layer_boundary (const GimpImage  *image,
 }
 
 GimpLayer *
-gimp_image_pick_correlate_layer (const GimpImage *image,
-                                 gint             x,
-                                 gint             y)
+gimp_image_pick_layer (const GimpImage *image,
+                       gint             x,
+                       gint             y)
 {
   GList *all_layers;
   GList *list;
diff --git a/app/core/gimpimage.h b/app/core/gimpimage.h
index 474a6a1..d54249c 100644
--- a/app/core/gimpimage.h
+++ b/app/core/gimpimage.h
@@ -557,7 +557,7 @@ gboolean        gimp_image_reorder_vectors       (GimpImage          *image,
 gboolean        gimp_image_layer_boundary        (const GimpImage    *image,
                                                   BoundSeg          **segs,
                                                   gint               *n_segs);
-GimpLayer     * gimp_image_pick_correlate_layer  (const GimpImage    *image,
+GimpLayer     * gimp_image_pick_layer            (const GimpImage    *image,
                                                   gint                x,
                                                   gint                y);
 gboolean    gimp_image_coords_in_active_pickable (GimpImage          *image,
diff --git a/app/pdb/image-cmds.c b/app/pdb/image-cmds.c
index 610b6ba..d3a0f7b 100644
--- a/app/pdb/image-cmds.c
+++ b/app/pdb/image-cmds.c
@@ -878,7 +878,7 @@ image_pick_correlate_layer_invoker (GimpProcedure      *procedure,
 
   if (success)
     {
-      layer = gimp_image_pick_correlate_layer (image, x, y);
+      layer = gimp_image_pick_layer (image, x, y);
     }
 
   return_vals = gimp_procedure_get_return_values (procedure, success,
diff --git a/app/tools/gimpmovetool.c b/app/tools/gimpmovetool.c
index 4325a2d..71bd50c 100644
--- a/app/tools/gimpmovetool.c
+++ b/app/tools/gimpmovetool.c
@@ -282,9 +282,9 @@ gimp_move_tool_button_press (GimpTool            *tool,
 
               return;
             }
-          else if ((layer = gimp_image_pick_correlate_layer (display->image,
-                                                             coords->x,
-                                                             coords->y)))
+          else if ((layer = gimp_image_pick_layer (display->image,
+                                                   coords->x,
+                                                   coords->y)))
             {
               if (gimp_image_get_floating_selection (display->image) &&
                   ! gimp_layer_is_floating_sel (layer))
@@ -748,8 +748,8 @@ gimp_move_tool_cursor_update (GimpTool         *tool,
           tool_cursor = GIMP_TOOL_CURSOR_HAND;
           modifier    = GIMP_CURSOR_MODIFIER_MOVE;
         }
-      else if ((layer = gimp_image_pick_correlate_layer (display->image,
-                                                         coords->x, coords->y)))
+      else if ((layer = gimp_image_pick_layer (display->image,
+                                               coords->x, coords->y)))
         {
           /*  if there is a floating selection, and this aint it...  */
           if (gimp_image_get_floating_selection (display->image) &&
diff --git a/app/tools/gimpselectiontool.c b/app/tools/gimpselectiontool.c
index 46f9cb5..0311194 100644
--- a/app/tools/gimpselectiontool.c
+++ b/app/tools/gimpselectiontool.c
@@ -171,8 +171,8 @@ gimp_selection_tool_oper_update (GimpTool         *tool,
 
   selection    = gimp_image_get_mask (display->image);
   drawable     = gimp_image_get_active_drawable (display->image);
-  layer        = gimp_image_pick_correlate_layer (display->image,
-                                                  coords->x, coords->y);
+  layer        = gimp_image_pick_layer (display->image,
+                                        coords->x, coords->y);
   floating_sel = gimp_image_get_floating_selection (display->image);
 
   if (drawable)
diff --git a/tools/pdbgen/pdb/image.pdb b/tools/pdbgen/pdb/image.pdb
index 3e4eba8..717b03f 100644
--- a/tools/pdbgen/pdb/image.pdb
+++ b/tools/pdbgen/pdb/image.pdb
@@ -715,7 +715,7 @@ HELP
     %invoke = (
 	code => <<'CODE'
 {
-  layer = gimp_image_pick_correlate_layer (image, x, y);
+  layer = gimp_image_pick_layer (image, x, y);
 }
 CODE
     );



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