[gegl] color-rotate: Rename function again



commit c5d133eefb6a098b94b98eeb667d39e0daf4ce14
Author: Mukund Sivaraman <muks banu com>
Date:   Wed Aug 31 01:09:20 2011 +0530

    color-rotate: Rename function again

 operations/workshop/color-rotate.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/operations/workshop/color-rotate.c b/operations/workshop/color-rotate.c
index 4ee7818..0953b2d 100644
--- a/operations/workshop/color-rotate.c
+++ b/operations/workshop/color-rotate.c
@@ -75,12 +75,12 @@ static void prepare (GeglOperation *operation)
 }
 
 static void
-gegl_rgb_to_hsv (gfloat  r,
-                 gfloat  g,
-                 gfloat  b,
-                 gfloat *h,
-                 gfloat *s,
-                 gfloat *v)
+rgb_to_hsv (gfloat  r,
+            gfloat  g,
+            gfloat  b,
+            gfloat *h,
+            gfloat *s,
+            gfloat *v)
 {
   float min;
   float delta;
@@ -301,10 +301,10 @@ color_rotate (gfloat     *src,
   S = src[offset + 1];
   V = src[offset + 2];
 
-  gegl_rgb_to_hsv (src[offset],
-                   src[offset + 1],
-                   src[offset + 2],
-                   &H, &S, &V);
+  rgb_to_hsv (src[offset],
+              src[offset + 1],
+              src[offset + 2],
+              &H, &S, &V);
 
   if (is_gray (S, o->threshold))
     {



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