From 2ce84b5245dc90dfd42b2c34e2a82b46820c6236 Mon Sep 17 00:00:00 2001 From: Jehan Date: Wed, 15 Dec 2021 23:55:08 +0100 Subject: [PATCH] app, devel-docs, libgimp, pdb: delete gimpitem-linked.[ch]. Getting rid of the last usage from these files dedicated to outdated item link concept. --- app/actions/drawable-commands.c | 1 - app/core/Makefile.am | 2 - app/core/gimpitem-linked.c | 103 -------------------------------- app/core/gimpitem-linked.h | 33 ---------- app/core/gimpitem.c | 5 -- app/core/meson.build | 1 - app/gimpcore.def | 1 - app/pdb/item-transform-cmds.c | 75 ++++------------------- app/pdb/layer-cmds.c | 1 - app/tools/gimptransformtool.c | 1 - devel-docs/app/app-sections.txt | 6 -- libgimp/gimpitemtransform_pdb.c | 32 +++------- pdb/groups/item_transform.pdb | 45 ++++---------- pdb/groups/layer.pdb | 1 - 14 files changed, 31 insertions(+), 276 deletions(-) delete mode 100644 app/core/gimpitem-linked.c delete mode 100644 app/core/gimpitem-linked.h diff --git a/app/actions/drawable-commands.c b/app/actions/drawable-commands.c index c5648993bc..17c2b84175 100644 --- a/app/actions/drawable-commands.c +++ b/app/actions/drawable-commands.c @@ -30,7 +30,6 @@ #include "core/gimpdrawable-operation.h" #include "core/gimpimage.h" #include "core/gimpimage-undo.h" -#include "core/gimpitem-linked.h" #include "core/gimpitemundo.h" #include "core/gimplayermask.h" #include "core/gimpprogress.h" diff --git a/app/core/Makefile.am b/app/core/Makefile.am index f20a68fbed..86fbb4f920 100644 --- a/app/core/Makefile.am +++ b/app/core/Makefile.am @@ -347,8 +347,6 @@ libappcore_a_sources = \ gimpitem.h \ gimpitem-exclusive.c \ gimpitem-exclusive.h \ - gimpitem-linked.c \ - gimpitem-linked.h \ gimpitem-preview.c \ gimpitem-preview.h \ gimpitemlist.c \ diff --git a/app/core/gimpitem-linked.c b/app/core/gimpitem-linked.c deleted file mode 100644 index 260c109f11..0000000000 --- a/app/core/gimpitem-linked.c +++ /dev/null @@ -1,103 +0,0 @@ -/* GIMP - The GNU Image Manipulation Program - * Copyright (C) 1995 Spencer Kimball and Peter Mattis - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include "config.h" - -#include -#include - -#include "core-types.h" - -#include "gimpcontext.h" -#include "gimpimage.h" -#include "gimpimage-item-list.h" -#include "gimpimage-undo.h" -#include "gimpitem.h" -#include "gimpitem-linked.h" -#include "gimplist.h" -#include "gimpprogress.h" - -#include "gimp-intl.h" - - -/* public functions */ - -gboolean -gimp_item_linked_is_locked (GimpItem *item) -{ - GList *list; - GList *l; - gboolean locked = FALSE; - - g_return_val_if_fail (GIMP_IS_ITEM (item), FALSE); - g_return_val_if_fail (gimp_item_get_linked (item) == TRUE, FALSE); - g_return_val_if_fail (gimp_item_is_attached (item), FALSE); - - list = gimp_image_item_list_get_list (gimp_item_get_image (item), - GIMP_ITEM_TYPE_ALL, - GIMP_ITEM_SET_LINKED); - - list = gimp_image_item_list_filter (list); - - for (l = list; l && ! locked; l = g_list_next (l)) - { - /* We must not use gimp_item_is_position_locked(), especially - * since a child implementation may call the current function and - * end up in infinite loop. - * We are only interested in the value of `lock_position` flag. - */ - if (gimp_item_get_lock_position (l->data)) - locked = TRUE; - } - - g_list_free (list); - - return locked; -} - -void -gimp_item_linked_transform (GimpItem *item, - GimpContext *context, - const GimpMatrix3 *matrix, - GimpTransformDirection direction, - GimpInterpolationType interpolation_type, - GimpTransformResize clip_result, - GimpProgress *progress) -{ - GimpImage *image; - GList *items; - - g_return_if_fail (GIMP_IS_ITEM (item)); - g_return_if_fail (GIMP_IS_CONTEXT (context)); - g_return_if_fail (gimp_item_get_linked (item) == TRUE); - g_return_if_fail (gimp_item_is_attached (item)); - g_return_if_fail (progress == NULL || GIMP_IS_PROGRESS (progress)); - - image = gimp_item_get_image (item); - - items = gimp_image_item_list_get_list (image, - GIMP_ITEM_TYPE_ALL, - GIMP_ITEM_SET_LINKED); - items = gimp_image_item_list_filter (items); - - gimp_image_item_list_transform (image, items, context, - matrix, direction, - interpolation_type, - clip_result, progress); - - g_list_free (items); -} diff --git a/app/core/gimpitem-linked.h b/app/core/gimpitem-linked.h deleted file mode 100644 index ff8e265fb2..0000000000 --- a/app/core/gimpitem-linked.h +++ /dev/null @@ -1,33 +0,0 @@ -/* GIMP - The GNU Image Manipulation Program - * Copyright (C) 1995 Spencer Kimball and Peter Mattis - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#ifndef __GIMP_ITEM_LINKED_H__ -#define __GIMP_ITEM_LINKED_H__ - - -gboolean gimp_item_linked_is_locked (GimpItem *item); - -void gimp_item_linked_transform (GimpItem *item, - GimpContext *context, - const GimpMatrix3 *matrix, - GimpTransformDirection direction, - GimpInterpolationType interpolation_type, - GimpTransformResize clip_result, - GimpProgress *progress); - - -#endif /* __GIMP_ITEM_LINKED_H__ */ diff --git a/app/core/gimpitem.c b/app/core/gimpitem.c index d8f221c7dc..0731f9f818 100644 --- a/app/core/gimpitem.c +++ b/app/core/gimpitem.c @@ -37,7 +37,6 @@ #include "gimpimage-undo.h" #include "gimpimage-undo-push.h" #include "gimpitem.h" -#include "gimpitem-linked.h" #include "gimpitem-preview.h" #include "gimpitemtree.h" #include "gimplist.h" @@ -504,10 +503,6 @@ gimp_item_real_is_content_locked (GimpItem *item) static gboolean gimp_item_real_is_position_locked (GimpItem *item) { - if (gimp_item_get_linked (item)) - if (gimp_item_linked_is_locked (item)) - return TRUE; - return GET_PRIVATE (item)->lock_position; } diff --git a/app/core/meson.build b/app/core/meson.build index 26f951e7d8..a23a48084d 100644 --- a/app/core/meson.build +++ b/app/core/meson.build @@ -173,7 +173,6 @@ libappcore_sources = [ 'gimpimageproxy.c', 'gimpimageundo.c', 'gimpitem-exclusive.c', - 'gimpitem-linked.c', 'gimpitem-preview.c', 'gimpitem.c', 'gimpitemlist.c', diff --git a/app/gimpcore.def b/app/gimpcore.def index c02f647210..12b40500aa 100644 --- a/app/gimpcore.def +++ b/app/gimpcore.def @@ -400,7 +400,6 @@ EXPORTS gimp_item_get_visible gimp_item_height gimp_item_is_text_layer - gimp_item_linked_transform gimp_item_offsets gimp_item_rename gimp_item_resize diff --git a/app/pdb/item-transform-cmds.c b/app/pdb/item-transform-cmds.c index 9fe548bf0e..f2209a66ec 100644 --- a/app/pdb/item-transform-cmds.c +++ b/app/pdb/item-transform-cmds.c @@ -34,7 +34,6 @@ #include "core/gimpdrawable-transform.h" #include "core/gimpdrawable.h" #include "core/gimpimage.h" -#include "core/gimpitem-linked.h" #include "core/gimpitem.h" #include "core/gimpparamspecs.h" #include "core/gimpprogress.h" @@ -231,14 +230,6 @@ item_transform_flip_invoker (GimpProcedure *procedure, else success = FALSE; } - else if (gimp_item_get_linked (item)) - { - gimp_item_linked_transform (item, context, &matrix, - pdb_context->transform_direction, - pdb_context->interpolation, - pdb_context->transform_resize, - progress); - } else { gimp_item_transform (item, context, &matrix, @@ -343,14 +334,6 @@ item_transform_perspective_invoker (GimpProcedure *procedure, else success = FALSE; } - else if (gimp_item_get_linked (item)) - { - gimp_item_linked_transform (item, context, &matrix, - pdb_context->transform_direction, - pdb_context->interpolation, - pdb_context->transform_resize, - progress); - } else { gimp_item_transform (item, context, &matrix, @@ -532,14 +515,6 @@ item_transform_rotate_invoker (GimpProcedure *procedure, else success = FALSE; } - else if (gimp_item_get_linked (item)) - { - gimp_item_linked_transform (item, context, &matrix, - pdb_context->transform_direction, - pdb_context->interpolation, - pdb_context->transform_resize, - progress); - } else { gimp_item_transform (item, context, &matrix, @@ -636,14 +611,6 @@ item_transform_scale_invoker (GimpProcedure *procedure, else success = FALSE; } - else if (gimp_item_get_linked (item)) - { - gimp_item_linked_transform (item, context, &matrix, - pdb_context->transform_direction, - pdb_context->interpolation, - pdb_context->transform_resize, - progress); - } else { gimp_item_transform (item, context, &matrix, @@ -735,14 +702,6 @@ item_transform_shear_invoker (GimpProcedure *procedure, else success = FALSE; } - else if (gimp_item_get_linked (item)) - { - gimp_item_linked_transform (item, context, &matrix, - pdb_context->transform_direction, - pdb_context->interpolation, - pdb_context->transform_resize, - progress); - } else { gimp_item_transform (item, context, &matrix, @@ -845,14 +804,6 @@ item_transform_2d_invoker (GimpProcedure *procedure, else success = FALSE; } - else if (gimp_item_get_linked (item)) - { - gimp_item_linked_transform (item, context, &matrix, - pdb_context->transform_direction, - pdb_context->interpolation, - pdb_context->transform_resize, - progress); - } else { gimp_item_transform (item, context, &matrix, @@ -963,14 +914,6 @@ item_transform_matrix_invoker (GimpProcedure *procedure, else success = FALSE; } - else if (gimp_item_get_linked (item)) - { - gimp_item_linked_transform (item, context, &matrix, - pdb_context->transform_direction, - pdb_context->interpolation, - pdb_context->transform_resize, - progress); - } else { gimp_item_transform (item, context, &matrix, @@ -1170,7 +1113,8 @@ register_item_transform_procs (GimpPDB *pdb) "\n" "If a selection exists and the item is a drawable, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then transformed as specified. The return value is the ID of the transformed floating selection.\n" "\n" - "If there is no selection or the item is not a drawable, the entire item will be transformed according to the specified mapping. Additionally, if the item has its linked flag set to TRUE, all additional items contained in the image which have the linked flag set to TRUE will also be transformed the same way. The return value will be equal to the item ID supplied as input.\n" + "If there is no selection or the item is not a drawable, the entire item will be transformed according to the specified mapping.\n" + "The return value will be equal to the item ID supplied as input.\n" "\n" "This procedure is affected by the following context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.", NULL); @@ -1314,7 +1258,8 @@ register_item_transform_procs (GimpPDB *pdb) "\n" "If a selection exists and the item is a drawable, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then rotated by the specified amount. If auto_center is set to TRUE, the rotation is around the selection's center. Otherwise, the coordinate of the center point needs to be specified. The return value is the ID of the rotated floating selection.\n" "\n" - "If there is no selection or the item is not a drawable, the entire item will be rotated around its center if auto_center is set to TRUE, otherwise the coordinate of the center point needs to be specified. Additionally, if the item has its linked flag set to TRUE, all additional items contained in the image which have the linked flag set to TRUE will also be rotated around the same center point. The return value will be equal to the item ID supplied as input.\n" + "If there is no selection or the item is not a drawable, the entire item will be rotated around its center if auto_center is set to TRUE, otherwise the coordinate of the center point needs to be specified.\n" + "The return value will be equal to the item ID supplied as input.\n" "\n" "This procedure is affected by the following context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.", NULL); @@ -1375,7 +1320,8 @@ register_item_transform_procs (GimpPDB *pdb) "\n" "If a selection exists and the item is a drawable, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then scaled as specified. The return value is the ID of the scaled floating selection.\n" "\n" - "If there is no selection or the item is not a drawable, the entire item will be scaled according to the specified coordinates. Additionally, if the item has its linked flag set to TRUE, all additional items contained in the image which have the linked flag set to TRUE will also be scaled the same way. The return value will be equal to the item ID supplied as input.\n" + "If there is no selection or the item is not a drawable, the entire item will be scaled according to the specified coordinates.\n" + "The return value will be equal to the item ID supplied as input.\n" "\n" "This procedure is affected by the following context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.", NULL); @@ -1436,7 +1382,8 @@ register_item_transform_procs (GimpPDB *pdb) "\n" "If a selection exists and the item is a drawable, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then sheared as specified. The return value is the ID of the sheared floating selection.\n" "\n" - "If there is no selection or the item is not a drawable, the entire item will be sheared according to the specified parameters. Additionally, if the item has its linked flag set to TRUE, all additional items contained in the image which have the linked flag set to TRUE will also be sheared the same way. The return value will be equal to the item ID supplied as input.\n" + "If there is no selection or the item is not a drawable, the entire item will be sheared according to the specified parameters.\n" + "The return value will be equal to the item ID supplied as input.\n" "\n" "This procedure is affected by the following context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.", NULL); @@ -1488,7 +1435,8 @@ register_item_transform_procs (GimpPDB *pdb) "\n" "If a selection exists and the item is a drawable, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then transformed as specified. The return value is the ID of the transformed floating selection.\n" "\n" - "If there is no selection or the item is not a drawable, the entire item will be transformed according to the specified parameters. Additionally, if the item has its linked flag set to TRUE, all additional items contained in the image which have the linked flag set to TRUE will also be transformed the same way. The return value will be equal to the item ID supplied as input.\n" + "If there is no selection or the item is not a drawable, the entire item will be transformed according to the specified parameters.\n" + "The return value will be equal to the item ID supplied as input.\n" "\n" "This procedure is affected by the following context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.", NULL); @@ -1567,7 +1515,8 @@ register_item_transform_procs (GimpPDB *pdb) "\n" "If a selection exists and the item is a drawable, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then transformed as specified. The return value is the ID of the transformed floating selection.\n" "\n" - "If there is no selection or the item is not a drawable, the entire item will be transformed according to the specified matrix. Additionally, if the item has its linked flag set to TRUE, all additional items contained in the image which have the linked flag set to TRUE will also be transformed the same way. The return value will be equal to the item ID supplied as input.\n" + "If there is no selection or the item is not a drawable, the entire item will be transformed according to the specified matrix.\n" + "The return value will be equal to the item ID supplied as input.\n" "\n" "This procedure is affected by the following context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.", NULL); diff --git a/app/pdb/layer-cmds.c b/app/pdb/layer-cmds.c index fff2a13ccb..3c7a13a010 100644 --- a/app/pdb/layer-cmds.c +++ b/app/pdb/layer-cmds.c @@ -38,7 +38,6 @@ #include "core/gimpimage-color-profile.h" #include "core/gimpimage-undo.h" #include "core/gimpimage.h" -#include "core/gimpitem-linked.h" #include "core/gimplayer-new.h" #include "core/gimplayer.h" #include "core/gimplayermask.h" diff --git a/app/tools/gimptransformtool.c b/app/tools/gimptransformtool.c index 7b8a81b708..f4b15cb731 100644 --- a/app/tools/gimptransformtool.c +++ b/app/tools/gimptransformtool.c @@ -34,7 +34,6 @@ #include "core/gimpimage-item-list.h" #include "core/gimpimage-transform.h" #include "core/gimpimage-undo.h" -#include "core/gimpitem-linked.h" #include "core/gimplayer.h" #include "core/gimplayermask.h" #include "core/gimpprogress.h" diff --git a/devel-docs/app/app-sections.txt b/devel-docs/app/app-sections.txt index 57f8a1e522..ac552bc395 100644 --- a/devel-docs/app/app-sections.txt +++ b/devel-docs/app/app-sections.txt @@ -11419,12 +11419,6 @@ gimp_image_undo_push_cantundo gimp_item_toggle_exclusive_visible -
-gimpitem-linked -GimpItem-linked -gimp_item_linked_transform -
-
gimpitem-preview GimpItem-preview diff --git a/libgimp/gimpitemtransform_pdb.c b/libgimp/gimpitemtransform_pdb.c index 3208f8b50a..3fd1fe5340 100644 --- a/libgimp/gimpitemtransform_pdb.c +++ b/libgimp/gimpitemtransform_pdb.c @@ -235,10 +235,7 @@ gimp_item_transform_flip (GimpItem *item, * * If there is no selection or the item is not a drawable, the entire * item will be transformed according to the specified mapping. - * Additionally, if the item has its linked flag set to TRUE, all - * additional items contained in the image which have the linked flag - * set to TRUE will also be transformed the same way. The return value - * will be equal to the item ID supplied as input. + * The return value will be equal to the item ID supplied as input. * * This procedure is affected by the following context setters: * gimp_context_set_interpolation(), @@ -379,11 +376,8 @@ gimp_item_transform_rotate_simple (GimpItem *item, * If there is no selection or the item is not a drawable, the entire * item will be rotated around its center if auto_center is set to * TRUE, otherwise the coordinate of the center point needs to be - * specified. Additionally, if the item has its linked flag set to - * TRUE, all additional items contained in the image which have the - * linked flag set to TRUE will also be rotated around the same center - * point. The return value will be equal to the item ID supplied as - * input. + * specified. + * The return value will be equal to the item ID supplied as input. * * This procedure is affected by the following context setters: * gimp_context_set_interpolation(), @@ -448,10 +442,7 @@ gimp_item_transform_rotate (GimpItem *item, * * If there is no selection or the item is not a drawable, the entire * item will be scaled according to the specified coordinates. - * Additionally, if the item has its linked flag set to TRUE, all - * additional items contained in the image which have the linked flag - * set to TRUE will also be scaled the same way. The return value will - * be equal to the item ID supplied as input. + * The return value will be equal to the item ID supplied as input. * * This procedure is affected by the following context setters: * gimp_context_set_interpolation(), @@ -516,10 +507,7 @@ gimp_item_transform_scale (GimpItem *item, * * If there is no selection or the item is not a drawable, the entire * item will be sheared according to the specified parameters. - * Additionally, if the item has its linked flag set to TRUE, all - * additional items contained in the image which have the linked flag - * set to TRUE will also be sheared the same way. The return value will - * be equal to the item ID supplied as input. + * The return value will be equal to the item ID supplied as input. * * This procedure is affected by the following context setters: * gimp_context_set_interpolation(), @@ -586,10 +574,7 @@ gimp_item_transform_shear (GimpItem *item, * * If there is no selection or the item is not a drawable, the entire * item will be transformed according to the specified parameters. - * Additionally, if the item has its linked flag set to TRUE, all - * additional items contained in the image which have the linked flag - * set to TRUE will also be transformed the same way. The return value - * will be equal to the item ID supplied as input. + * The return value will be equal to the item ID supplied as input. * * This procedure is affected by the following context setters: * gimp_context_set_interpolation(), @@ -666,10 +651,7 @@ gimp_item_transform_2d (GimpItem *item, * * If there is no selection or the item is not a drawable, the entire * item will be transformed according to the specified matrix. - * Additionally, if the item has its linked flag set to TRUE, all - * additional items contained in the image which have the linked flag - * set to TRUE will also be transformed the same way. The return value - * will be equal to the item ID supplied as input. + * The return value will be equal to the item ID supplied as input. * * This procedure is affected by the following context setters: * gimp_context_set_interpolation(), diff --git a/pdb/groups/item_transform.pdb b/pdb/groups/item_transform.pdb index 296fd9343f..de388c7d50 100644 --- a/pdb/groups/item_transform.pdb +++ b/pdb/groups/item_transform.pdb @@ -82,14 +82,6 @@ $assemble_matrix else success = FALSE; } - else if (gimp_item_get_linked (item)) - { - gimp_item_linked_transform (item, context, &matrix, - pdb_context->transform_direction, - pdb_context->interpolation, - pdb_context->transform_resize, - progress); - } else { gimp_item_transform (item, context, &matrix, @@ -329,10 +321,8 @@ The return value is the ID of the transformed floating selection. If there is no selection or the item is not a drawable, the entire item will be transformed according to the specified mapping. -Additionally, if the item has its linked flag set to TRUE, all -additional items contained in the image which have the linked flag set -to TRUE will also be transformed the same way. The return value will be -equal to the item ID supplied as input. + +The return value will be equal to the item ID supplied as input. This procedure is affected by the following context setters: @@ -514,10 +504,8 @@ floating selection. If there is no selection or the item is not a drawable, the entire item will be rotated around its center if auto_center is set to TRUE, otherwise the coordinate of the center point needs to be specified. -Additionally, if the item has its linked flag set to TRUE, all -additional items contained in the image which have the linked flag set -to TRUE will also be rotated around the same center point. The return -value will be equal to the item ID supplied as input. + +The return value will be equal to the item ID supplied as input. This procedure is affected by the following context setters: @@ -576,10 +564,8 @@ return value is the ID of the scaled floating selection. If there is no selection or the item is not a drawable, the entire item will be scaled according to the specified coordinates. -Additionally, if the item has its linked flag set to TRUE, all -additional items contained in the image which have the linked flag set -to TRUE will also be scaled the same way. The return value will be -equal to the item ID supplied as input. + +The return value will be equal to the item ID supplied as input. This procedure is affected by the following context setters: @@ -642,10 +628,8 @@ The return value is the ID of the sheared floating selection. If there is no selection or the item is not a drawable, the entire item will be sheared according to the specified parameters. -Additionally, if the item has its linked flag set to TRUE, all -additional items contained in the image which have the linked flag set -to TRUE will also be sheared the same way. The return value will be -equal to the item ID supplied as input. + +The return value will be equal to the item ID supplied as input. This procedure is affected by the following context setters: @@ -700,10 +684,8 @@ The return value is the ID of the transformed floating selection. If there is no selection or the item is not a drawable, the entire item will be transformed according to the specified parameters. -Additionally, if the item has its linked flag set to TRUE, all -additional items contained in the image which have the linked flag set -to TRUE will also be transformed the same way. The return value will -be equal to the item ID supplied as input. + +The return value will be equal to the item ID supplied as input. This procedure is affected by the following context setters: @@ -766,10 +748,8 @@ The return value is the ID of the transformed floating selection. If there is no selection or the item is not a drawable, the entire item will be transformed according to the specified matrix. -Additionally, if the item has its linked flag set to TRUE, all -additional items contained in the image which have the linked flag set -to TRUE will also be transformed the same way. The return value will -be equal to the item ID supplied as input. + +The return value will be equal to the item ID supplied as input. This procedure is affected by the following context setters: @@ -827,7 +807,6 @@ CODE "core/gimpdrawable.h" "core/gimpdrawable-transform.h" "core/gimpimage.h" - "core/gimpitem-linked.h" "core/gimpprogress.h" "gimppdb-utils.h" "gimppdbcontext.h" diff --git a/pdb/groups/layer.pdb b/pdb/groups/layer.pdb index 690a2af1d9..1e43bab142 100644 --- a/pdb/groups/layer.pdb +++ b/pdb/groups/layer.pdb @@ -1284,7 +1284,6 @@ CODE "core/gimp.h" "core/gimpimage-color-profile.h" "core/gimpimage-undo.h" - "core/gimpitem-linked.h" "core/gimpgrouplayer.h" "core/gimplayer-new.h" "core/gimppickable.h"