[gimp] libgimp: don't recurse infinitely in deprecated gimpvectors functions (cherry picked from commit f32



commit b5842539f59c69f22c80b71fed0334e5c490b6ae
Author: Michael Natterer <mitch gimp org>
Date:   Thu May 3 00:24:19 2012 +0200

    libgimp: don't recurse infinitely in deprecated gimpvectors functions
    (cherry picked from commit f32706a0d1f587b06cff01a9e32ce8b6c895faee)

 libgimp/gimpvectors.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgimp/gimpvectors.c b/libgimp/gimpvectors.c
index 8847fa1..9b53e0d 100644
--- a/libgimp/gimpvectors.c
+++ b/libgimp/gimpvectors.c
@@ -107,7 +107,7 @@ gimp_vectors_set_name (gint32       vectors_ID,
 gboolean
 gimp_vectors_get_visible (gint32 vectors_ID)
 {
-  return gimp_vectors_get_visible (vectors_ID);
+  return gimp_item_get_visible (vectors_ID);
 }
 
 /**
@@ -193,7 +193,7 @@ gboolean
 gimp_vectors_set_tattoo (gint32 vectors_ID,
                          gint   tattoo)
 {
-  return gimp_vectors_set_tattoo (vectors_ID, tattoo);
+  return gimp_item_set_tattoo (vectors_ID, tattoo);
 }
 
 /**



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