[Pixman] [PATCH 1/3] Remove unused stop_range field

Andrea Canciani ranma42 at gmail.com
Tue Nov 2 12:05:33 PDT 2010


---
 pixman/pixman-image.c   |    2 --
 pixman/pixman-private.h |    1 -
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/pixman/pixman-image.c b/pixman/pixman-image.c
index fabcd63..fc0677d 100644
--- a/pixman/pixman-image.c
+++ b/pixman/pixman-image.c
@@ -47,8 +47,6 @@ _pixman_init_gradient (gradient_t *                  gradient,
 
     gradient->n_stops = n_stops;
 
-    gradient->stop_range = 0xffff;
-
     return TRUE;
 }
 
diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h
index c43172b..27679b6 100644
--- a/pixman/pixman-private.h
+++ b/pixman/pixman-private.h
@@ -127,7 +127,6 @@ struct gradient
     source_image_t          common;
     int                     n_stops;
     pixman_gradient_stop_t *stops;
-    int                     stop_range;
 };
 
 struct linear_gradient
-- 
1.7.1



More information about the Pixman mailing list