summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-12-16 12:09:12 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-12-16 12:09:52 +0900
commit90d0f695b4a4b7b504ea8f667a94df06ba672ec4 (patch)
tree6c31974debddd715a45cbd49168439d353e5a8b6 /src/lib
parent24d43f2f487048596cd835aee53b439cf4442f44 (diff)
elm widget - remove unused vars from new shadow part code
fill isn't used... maybe at some point someone jpeg wanted to.. but he didn't, so let's not have warnings.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elementary/elm_widget.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index d67ec8008b..bf983bc8d9 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -5689,7 +5689,7 @@ static void
5689_widget_shadow_update(Widget_Shadow *ws) 5689_widget_shadow_update(Widget_Shadow *ws)
5690{ 5690{
5691 int l = 0, r = 0, t = 0, b = 0; 5691 int l = 0, r = 0, t = 0, b = 0;
5692 Eina_Rect srect, wrect, fill; 5692 Eina_Rect srect, wrect;
5693 char filter[1024]; 5693 char filter[1024];
5694 5694
5695#define FILTER_FMT \ 5695#define FILTER_FMT \
@@ -5723,9 +5723,6 @@ _widget_shadow_update(Widget_Shadow *ws)
5723 srect.y = wrect.y + (int) (-t + ws->props.oy); 5723 srect.y = wrect.y + (int) (-t + ws->props.oy);
5724 srect.w = wrect.w + (int) (l + r); 5724 srect.w = wrect.w + (int) (l + r);
5725 srect.h = wrect.h + (int) (t + b); 5725 srect.h = wrect.h + (int) (t + b);
5726 fill.size = wrect.size;
5727 fill.x = 0;
5728 fill.y = 0;
5729 5726
5730 if ((!ws->props.a && !ws->code) || 5727 if ((!ws->props.a && !ws->code) ||
5731 !efl_gfx_visible_get(ws->widget)) 5728 !efl_gfx_visible_get(ws->widget))