[gimp] pdb: don't have compat aliases for procedures which are deprecated themselves



commit ec3615127778a8396297c34bdb05f5212883b68e
Author: Michael Natterer <mitch gimp org>
Date:   Wed Sep 15 21:22:53 2010 +0200

    pdb: don't have compat aliases for procedures which are deprecated themselves
    
    Replace them by aliases for the new procedures instead.

 app/pdb/gimp-pdb-compat.c |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/app/pdb/gimp-pdb-compat.c b/app/pdb/gimp-pdb-compat.c
index 8c3286e..f6aa46d 100644
--- a/app/pdb/gimp-pdb-compat.c
+++ b/app/pdb/gimp-pdb-compat.c
@@ -366,12 +366,12 @@ gimp_pdb_compat_procs_register (GimpPDB           *pdb,
     { "gimp-brushes-list",               "gimp-brushes-get-list"           },
     { "gimp-bucket-fill",                "gimp-edit-bucket-fill"           },
     { "gimp-channel-delete",             "gimp-drawable-delete"            },
-    { "gimp-channel-get-name",           "gimp-drawable-get-name"          },
-    { "gimp-channel-get-tattoo",         "gimp-drawable-get-tattoo"        },
-    { "gimp-channel-get-visible",        "gimp-drawable-get-visible"       },
-    { "gimp-channel-set-name",           "gimp-drawable-set-name"          },
-    { "gimp-channel-set-tattoo",         "gimp-drawable-set-tattoo"        },
-    { "gimp-channel-set-visible",        "gimp-drawable-set-visible"       },
+    { "gimp-channel-get-name",           "gimp-item-get-name"              },
+    { "gimp-channel-get-tattoo",         "gimp-item-get-tattoo"            },
+    { "gimp-channel-get-visible",        "gimp-item-get-visible"           },
+    { "gimp-channel-set-name",           "gimp-item-set-name"              },
+    { "gimp-channel-set-tattoo",         "gimp-item-set-tattoo"            },
+    { "gimp-channel-set-visible",        "gimp-item-set-visible"           },
     { "gimp-color-picker",               "gimp-image-pick-color"           },
     { "gimp-convert-grayscale",          "gimp-image-convert-grayscale"    },
     { "gimp-convert-indexed",            "gimp-image-convert-indexed"      },
@@ -382,14 +382,14 @@ gimp_pdb_compat_procs_register (GimpPDB           *pdb,
     { "gimp-image-active-drawable",      "gimp-image-get-active-drawable"  },
     { "gimp-image-floating-selection",   "gimp-image-get-floating-sel"     },
     { "gimp-layer-delete",               "gimp-drawable-delete"            },
-    { "gimp-layer-get-linked",           "gimp-drawable-get-linked"        },
-    { "gimp-layer-get-name",             "gimp-drawable-get-name"          },
-    { "gimp-layer-get-tattoo",           "gimp-drawable-get-tattoo"        },
-    { "gimp-layer-get-visible",          "gimp-drawable-get-visible"       },
+    { "gimp-layer-get-linked",           "gimp-item-get-linked"            },
+    { "gimp-layer-get-name",             "gimp-item-get-name"              },
+    { "gimp-layer-get-tattoo",           "gimp-item-get-tattoo"            },
+    { "gimp-layer-get-visible",          "gimp-item-get-visible"           },
     { "gimp-layer-mask",                 "gimp-layer-get-mask"             },
-    { "gimp-layer-set-linked",           "gimp-drawable-set-linked"        },
-    { "gimp-layer-set-name",             "gimp-drawable-set-name"          },
-    { "gimp-layer-set-tattoo",           "gimp-drawable-set-tattoo"        },
+    { "gimp-layer-set-linked",           "gimp-item-set-linked"            },
+    { "gimp-layer-set-name",             "gimp-item-set-name"              },
+    { "gimp-layer-set-tattoo",           "gimp-item-set-tattoo"            },
     { "gimp-layer-set-visible",          "gimp-drawable-set-visible"       },
     { "gimp-palette-refresh",            "gimp-palettes-refresh"           },
     { "gimp-patterns-list",              "gimp-patterns-get-list"          },



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