From 43e7687d89586930b4ee8d4d5f5c09ddbc820566 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 28 Oct 2011 21:26:23 -0400 Subject: [PATCH] theme: Consolidate unused ops https://bugzilla.gnome.org/show_bug.cgi?id=662962 --- src/ui/theme.c | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/src/ui/theme.c b/src/ui/theme.c index e92503118..5602e2320 100644 --- a/src/ui/theme.c +++ b/src/ui/theme.c @@ -3406,18 +3406,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; @@ -3454,9 +3442,6 @@ draw_op_as_pixbuf (const MetaDrawOp *op, } break; - case META_DRAW_GRADIENT: - break; - case META_DRAW_IMAGE: { if (op->data.image.colorize_spec) @@ -3499,12 +3484,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) && @@ -3520,12 +3499,16 @@ 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_GRADIENT: + 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; }