Remove unused color_table and color_table_size fields
authorSøren Sandmann Pedersen <sandmann@redhat.com>
Tue, 20 Oct 2009 00:27:36 +0000 (20:27 -0400)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Tue, 20 Oct 2009 00:27:36 +0000 (20:27 -0400)
pixman/pixman-image.c
pixman/pixman-private.h

index 59db840..e55ba2c 100644 (file)
@@ -48,8 +48,6 @@ _pixman_init_gradient (gradient_t *                  gradient,
     gradient->n_stops = n_stops;
 
     gradient->stop_range = 0xffff;
-    gradient->color_table = NULL;
-    gradient->color_table_size = 0;
     gradient->common.class = SOURCE_IMAGE_CLASS_UNKNOWN;
 
     return TRUE;
index c5b44bc..98691e3 100644 (file)
@@ -120,8 +120,6 @@ struct gradient
     int                     n_stops;
     pixman_gradient_stop_t *stops;
     int                     stop_range;
-    uint32_t *              color_table;
-    int                     color_table_size;
 };
 
 struct linear_gradient