theme: Consolidate unused ops

https://bugzilla.gnome.org/show_bug.cgi?id=662962
This commit is contained in:
Jasper St. Pierre 2011-10-28 21:26:23 -04:00
parent 62097897be
commit 381ef5c683

View File

@ -3418,18 +3418,6 @@ draw_op_as_pixbuf (const MetaDrawOp *op,
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:
{
GdkRGBA color;
@ -3488,7 +3476,6 @@ draw_op_as_pixbuf (const MetaDrawOp *op,
}
break;
case META_DRAW_IMAGE:
{
if (op->data.image.colorize_spec)
@ -3533,12 +3520,6 @@ draw_op_as_pixbuf (const MetaDrawOp *op,
}
break;
}
case META_DRAW_GTK_ARROW:
case META_DRAW_GTK_BOX:
case META_DRAW_GTK_VLINE:
break;
case META_DRAW_ICON:
if (info->mini_icon &&
width <= gdk_pixbuf_get_width (info->mini_icon) &&
@ -3556,12 +3537,15 @@ draw_op_as_pixbuf (const MetaDrawOp *op,
FALSE, FALSE);
break;
case META_DRAW_LINE:
case META_DRAW_RECTANGLE:
case META_DRAW_ARC:
case META_DRAW_CLIP:
case META_DRAW_GTK_ARROW:
case META_DRAW_GTK_BOX:
case META_DRAW_GTK_VLINE:
case META_DRAW_TITLE:
break;
case META_DRAW_OP_LIST:
break;
case META_DRAW_TILE:
break;
}