mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 21:34:09 +00:00
theme: Remove unused RECTANGLE code
https://bugzilla.gnome.org/show_bug.cgi?id=662962
This commit is contained in:
parent
2d2c47ba49
commit
62097897be
@ -3422,20 +3422,6 @@ draw_op_as_pixbuf (const MetaDrawOp *op,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case META_DRAW_RECTANGLE:
|
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;
|
break;
|
||||||
|
|
||||||
case META_DRAW_ARC:
|
case META_DRAW_ARC:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user