summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@redhat.com>2009-10-19 20:27:36 -0400
committerSøren Sandmann Pedersen <sandmann@redhat.com>2009-10-19 20:27:36 -0400
commit9cd470665b1bb7e0cb810f2457d3788f7c981072 (patch)
treea59ef2343e04511ea91dd158ec1553762b4eb926
parent8186937637f25088e61c22a3ce1740a56f5d6e13 (diff)
Remove unused color_table and color_table_size fields
-rw-r--r--pixman/pixman-image.c2
-rw-r--r--pixman/pixman-private.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/pixman/pixman-image.c b/pixman/pixman-image.c
index 59db840b..e55ba2c1 100644
--- a/pixman/pixman-image.c
+++ b/pixman/pixman-image.c
@@ -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;
diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h
index c5b44bce..98691e32 100644
--- a/pixman/pixman-private.h
+++ b/pixman/pixman-private.h
@@ -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