[gimp/gimp-2-8] libgimp: fix docs of deprecated functions



commit 569c1221379b46f6391531bac6bd36f7decade08
Author: Michael Natterer <mitch gimp org>
Date:   Thu May 3 00:25:08 2012 +0200

    libgimp: fix docs of deprecated functions

 libgimp/gimpdrawable.c |    2 +-
 libgimp/gimpimage.c    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgimp/gimpdrawable.c b/libgimp/gimpdrawable.c
index 68e80d5..db4c100 100644
--- a/libgimp/gimpdrawable.c
+++ b/libgimp/gimpdrawable.c
@@ -622,7 +622,7 @@ gimp_drawable_parasite_list (gint32    drawable_ID,
  * Convenience function that creates a parasite and attaches it
  * to GIMP.
  *
- * Deprecated: use gimp_image_parasite_attach() instead.
+ * Deprecated: use gimp_item_attach_parasite() instead.
  *
  * Return value: TRUE on successful creation and attachment of
  * the new parasite.
diff --git a/libgimp/gimpimage.c b/libgimp/gimpimage.c
index 5b6f35b..a1dc132 100644
--- a/libgimp/gimpimage.c
+++ b/libgimp/gimpimage.c
@@ -437,7 +437,7 @@ gimp_image_parasite_list (gint32    image_ID,
  * Convenience function that creates a parasite and attaches it
  * to GIMP.
  *
- * Deprecated: Use gimp_image_parasite_attach() instead.
+ * Deprecated: Use gimp_image_attach_parasite() instead.
  *
  * Return value: TRUE on successful creation and attachment of
  * the new parasite.
@@ -454,7 +454,7 @@ gimp_image_attach_new_parasite (gint32         image_ID,
   GimpParasite *parasite = gimp_parasite_new (name, flags, size, data);
   gboolean      success;
 
-  success = gimp_image_parasite_attach (image_ID, parasite);
+  success = gimp_image_attach_parasite (image_ID, parasite);
 
   gimp_parasite_free (parasite);
 



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