summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmetacity/meta-draw-op.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/libmetacity/meta-draw-op.c b/libmetacity/meta-draw-op.c
index e7ad9e36..0e3e6ae4 100644
--- a/libmetacity/meta-draw-op.c
+++ b/libmetacity/meta-draw-op.c
@@ -399,20 +399,6 @@ draw_op_as_pixbuf (const MetaDrawOp *op,
break;
case META_DRAW_RECTANGLE:
- if (op->data.rectangle.filled)
- {
- GdkRGBA color;
-
- meta_color_spec_render (op->data.rectangle.color_spec,
- context,
- &color);
-
- pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB,
- FALSE,
- 8, width, height);
-
- gdk_pixbuf_fill (pixbuf, GDK_COLOR_RGBA (color));
- }
break;
case META_DRAW_ARC: