diff options
author | Hannes Janetzek <hannes.janetzek@gmail.com> | 2009-03-06 08:32:57 +0000 |
---|---|---|
committer | Hannes Janetzek <hannes.janetzek@gmail.com> | 2009-03-06 08:32:57 +0000 |
commit | ee1a0e922019ffbb698f1c516cfacc2847fc6bc7 (patch) | |
tree | 931cc85e5e99864e0ca1813d480f6d715e035690 /src | |
parent | 72b7a4bff1bd4f156fdfd9ac5f7c05de840c02e4 (diff) | |
download | enlightenment-ee1a0e922019ffbb698f1c516cfacc2847fc6bc7.tar.gz |
remove redundant case from last commit
SVN revision: 39390
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/e_shelf.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/bin/e_shelf.c b/src/bin/e_shelf.c index a28c1d014b..f69ed7937c 100644 --- a/src/bin/e_shelf.c +++ b/src/bin/e_shelf.c @@ -1386,29 +1386,25 @@ _e_shelf_cb_mouse_out(void *data, int type, void *event) case E_GADCON_ORIENT_LEFT: case E_GADCON_ORIENT_CORNER_LT: case E_GADCON_ORIENT_CORNER_LB: - if ((ev->edge == E_ZONE_EDGE_LEFT) && - (ev->x >= es->x + es->w)) + if ((ev->edge == E_ZONE_EDGE_LEFT) && (ev->x >= es->x + es->w)) show = 0; break; case E_GADCON_ORIENT_RIGHT: case E_GADCON_ORIENT_CORNER_RT: case E_GADCON_ORIENT_CORNER_RB: - if ((ev->edge == E_ZONE_EDGE_RIGHT) && - (ev->x > es->w) || (-ev->x > es->w)) + if ((ev->edge == E_ZONE_EDGE_RIGHT) && (-ev->x > es->w)) show = 0; break; case E_GADCON_ORIENT_TOP: case E_GADCON_ORIENT_CORNER_TL: case E_GADCON_ORIENT_CORNER_TR: - if ((ev->edge == E_ZONE_EDGE_TOP) && - (ev->y > es->y + es->h)) + if ((ev->edge == E_ZONE_EDGE_TOP) && (ev->y > es->y + es->h)) show = 0; break; case E_GADCON_ORIENT_BOTTOM: case E_GADCON_ORIENT_CORNER_BL: case E_GADCON_ORIENT_CORNER_BR: - if ((ev->edge == E_ZONE_EDGE_BOTTOM) && - (ev->y > es->h) || (-ev->y > es->h)) + if ((ev->edge == E_ZONE_EDGE_BOTTOM) && (-ev->y > es->h)) show = 0; break; default: |