summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2011-10-28 14:41:28 -0400
committerJasper St. Pierre <jstpierre@mecheye.net>2014-06-14 14:04:59 -0400
commit62097897be03bb6438e9613635d125afa4c37bd8 (patch)
tree6fe616d6bff656ec47d9ce3b327c0c5c7a8878a8
parent2d2c47ba49206dc9a8ed5cc699e37b6432616f4e (diff)
downloadmutter-62097897be03bb6438e9613635d125afa4c37bd8.tar.gz
theme: Remove unused RECTANGLE code
https://bugzilla.gnome.org/show_bug.cgi?id=662962
-rw-r--r--src/ui/theme.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 164b8f68b..53fa2d29f 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -3422,20 +3422,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: