summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_ui_relative_layout.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-08-08 17:18:45 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-08-08 17:18:46 -0400
commitcdb920ab084451c8395dea605d96d2bad277ce61 (patch)
tree5bc69959657f6dd611d2053dacde138c81d23091 /src/bin/elementary/test_ui_relative_layout.c
parent9b7d71df79622246dc325ee70e0a7d23338eb9b8 (diff)
get rid of shadow variables
Summary: gl: add some EINA_FALLTHROUGH Reviewers: #reviewers, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9525
Diffstat (limited to '')
-rw-r--r--src/bin/elementary/test_ui_relative_layout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/elementary/test_ui_relative_layout.c b/src/bin/elementary/test_ui_relative_layout.c
index 63a6419..e4fa8c9 100644
--- a/src/bin/elementary/test_ui_relative_layout.c
+++ b/src/bin/elementary/test_ui_relative_layout.c
@@ -18,14 +18,14 @@ typedef enum {
18static void 18static void
19_btn_color_clicked_cb(void *data, const Efl_Event *event EINA_UNUSED) 19_btn_color_clicked_cb(void *data, const Efl_Event *event EINA_UNUSED)
20{ 20{
21 Eo *layout = data; 21 Eo *l = data;
22 22
23 static Eina_Bool changed = EINA_TRUE; 23 static Eina_Bool changed = EINA_TRUE;
24 24
25 if (changed) 25 if (changed)
26 efl_gfx_color_set(layout, 0, 88, 204, 255); 26 efl_gfx_color_set(l, 0, 88, 204, 255);
27 else 27 else
28 efl_gfx_color_set(layout, 255, 255, 255, 255); 28 efl_gfx_color_set(l, 255, 255, 255, 255);
29 29
30 changed = !changed; 30 changed = !changed;
31} 31}