[gimp] app: use gimp_item_{start, end}_transform() in GimpEditSelectionTool



commit 151eeb9761714f0d29aeabd98492d5bbf365603f
Author: Ell <ell_se yahoo com>
Date:   Sun Apr 29 08:04:21 2018 -0400

    app: use gimp_item_{start,end}_transform() in GimpEditSelectionTool
    
    ... instead of gimp_item_{start,end}_move().
    
    This should have been part of commit
    37742a9fee417985ebf195beefc5a05fd8c435a9.

 app/tools/gimpeditselectiontool.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/tools/gimpeditselectiontool.c b/app/tools/gimpeditselectiontool.c
index dfc8d4e..3d1c0ad 100644
--- a/app/tools/gimpeditselectiontool.c
+++ b/app/tools/gimpeditselectiontool.c
@@ -433,7 +433,7 @@ gimp_edit_selection_tool_start (GimpTool          *parent_tool,
     }
 
   for (list = edit_select->live_items; list; list = g_list_next (list))
-    gimp_item_start_move (GIMP_ITEM (list->data), TRUE);
+    gimp_item_start_transform (GIMP_ITEM (list->data), TRUE);
 
   tool_manager_push_tool (display->gimp, tool);
 
@@ -487,7 +487,7 @@ gimp_edit_selection_tool_button_release (GimpTool              *tool,
                                   TRUE);
 
   for (list = edit_select->live_items; list; list = g_list_next (list))
-    gimp_item_end_move (GIMP_ITEM (list->data), TRUE);
+    gimp_item_end_transform (GIMP_ITEM (list->data), TRUE);
 
   gimp_image_undo_group_end (image);
 
@@ -600,7 +600,7 @@ gimp_edit_selection_tool_update_motion (GimpEditSelectionTool *edit_select,
 
           edit_select->live_items = g_list_prepend (NULL, active_item);
 
-          gimp_item_start_move (active_item, TRUE);
+          gimp_item_start_transform (active_item, TRUE);
 
           /*  fallthru  */
 


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