mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
theme: Consolidate unused ops
https://bugzilla.gnome.org/show_bug.cgi?id=662962
This commit is contained in:
parent
2e4f67f3f9
commit
43e7687d89
@ -3406,18 +3406,6 @@ draw_op_as_pixbuf (const MetaDrawOp *op,
|
|||||||
|
|
||||||
switch (op->type)
|
switch (op->type)
|
||||||
{
|
{
|
||||||
case META_DRAW_LINE:
|
|
||||||
break;
|
|
||||||
|
|
||||||
case META_DRAW_RECTANGLE:
|
|
||||||
break;
|
|
||||||
|
|
||||||
case META_DRAW_ARC:
|
|
||||||
break;
|
|
||||||
|
|
||||||
case META_DRAW_CLIP:
|
|
||||||
break;
|
|
||||||
|
|
||||||
case META_DRAW_TINT:
|
case META_DRAW_TINT:
|
||||||
{
|
{
|
||||||
GdkRGBA color;
|
GdkRGBA color;
|
||||||
@ -3454,9 +3442,6 @@ draw_op_as_pixbuf (const MetaDrawOp *op,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case META_DRAW_GRADIENT:
|
|
||||||
break;
|
|
||||||
|
|
||||||
case META_DRAW_IMAGE:
|
case META_DRAW_IMAGE:
|
||||||
{
|
{
|
||||||
if (op->data.image.colorize_spec)
|
if (op->data.image.colorize_spec)
|
||||||
@ -3499,12 +3484,6 @@ draw_op_as_pixbuf (const MetaDrawOp *op,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case META_DRAW_GTK_ARROW:
|
|
||||||
case META_DRAW_GTK_BOX:
|
|
||||||
case META_DRAW_GTK_VLINE:
|
|
||||||
break;
|
|
||||||
|
|
||||||
case META_DRAW_ICON:
|
case META_DRAW_ICON:
|
||||||
if (info->mini_icon &&
|
if (info->mini_icon &&
|
||||||
width <= gdk_pixbuf_get_width (info->mini_icon) &&
|
width <= gdk_pixbuf_get_width (info->mini_icon) &&
|
||||||
@ -3520,12 +3499,16 @@ draw_op_as_pixbuf (const MetaDrawOp *op,
|
|||||||
FALSE, FALSE);
|
FALSE, FALSE);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case META_DRAW_LINE:
|
||||||
|
case META_DRAW_RECTANGLE:
|
||||||
|
case META_DRAW_ARC:
|
||||||
|
case META_DRAW_CLIP:
|
||||||
|
case META_DRAW_GRADIENT:
|
||||||
|
case META_DRAW_GTK_ARROW:
|
||||||
|
case META_DRAW_GTK_BOX:
|
||||||
|
case META_DRAW_GTK_VLINE:
|
||||||
case META_DRAW_TITLE:
|
case META_DRAW_TITLE:
|
||||||
break;
|
|
||||||
|
|
||||||
case META_DRAW_OP_LIST:
|
case META_DRAW_OP_LIST:
|
||||||
break;
|
|
||||||
|
|
||||||
case META_DRAW_TILE:
|
case META_DRAW_TILE:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user