[metacity] libmetacity: consolidate unused ops
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] libmetacity: consolidate unused ops
- Date: Thu, 7 Jul 2016 12:18:44 +0000 (UTC)
commit 0070d6b1ead81639f08548a26e1c683c9dbab881
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Oct 28 21:26:23 2011 -0400
libmetacity: consolidate unused ops
https://bugzilla.gnome.org/show_bug.cgi?id=662962
libmetacity/meta-draw-op.c | 28 +++++++---------------------
1 files changed, 7 insertions(+), 21 deletions(-)
---
diff --git a/libmetacity/meta-draw-op.c b/libmetacity/meta-draw-op.c
index ae0d092..f8f7d0a 100644
--- a/libmetacity/meta-draw-op.c
+++ b/libmetacity/meta-draw-op.c
@@ -395,18 +395,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;
@@ -474,11 +462,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) &&
@@ -496,12 +479,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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]