[mutter/wip/cairo: 1/14] theme: Remove unused RECTANGLE code



commit 26b2221cad5f36ab5dba214bdc5d2b0c8585d3df
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Oct 28 14:41:28 2011 -0400

    theme: Remove unused RECTANGLE code
    
    https://bugzilla.gnome.org/show_bug.cgi?id=662962

 src/ui/theme.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 604505f..08c5229 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -3418,20 +3418,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:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]