summaryrefslogtreecommitdiff
path: root/src/ui/theme-parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/theme-parser.c')
-rw-r--r--src/ui/theme-parser.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/ui/theme-parser.c b/src/ui/theme-parser.c
index 014668c41..b79328077 100644
--- a/src/ui/theme-parser.c
+++ b/src/ui/theme-parser.c
@@ -2149,10 +2149,8 @@ parse_draw_op_element (GMarkupParseContext *context,
const char *y;
const char *width;
const char *height;
- const char *colorize;
const char *fill_type;
GdkPixbuf *pixbuf;
- MetaColorSpec *colorize_spec = NULL;
MetaImageFillType fill_type_val;
int h, w, c;
int pixbuf_width, pixbuf_height, pixbuf_n_channels, pixbuf_rowstride;
@@ -2163,7 +2161,6 @@ parse_draw_op_element (GMarkupParseContext *context,
"!x", &x, "!y", &y,
"!width", &width, "!height", &height,
"!filename", &filename,
- "colorize", &colorize,
"fill_type", &fill_type,
NULL))
return;
@@ -2209,22 +2206,9 @@ parse_draw_op_element (GMarkupParseContext *context,
return;
}
- if (colorize)
- {
- colorize_spec = parse_color (info->theme, colorize, error);
-
- if (colorize_spec == NULL)
- {
- add_context_to_error (error, context);
- g_object_unref (G_OBJECT (pixbuf));
- return;
- }
- }
-
op = meta_draw_op_new (META_DRAW_IMAGE);
op->data.image.pixbuf = pixbuf;
- op->data.image.colorize_spec = colorize_spec;
op->data.image.x = meta_draw_spec_new (info->theme, x, NULL);
op->data.image.y = meta_draw_spec_new (info->theme, y, NULL);