From 9b11f346f457f2de8108bb1f896e6441f0353ec3 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Sun, 23 Mar 2014 20:21:23 +0900 Subject: [PATCH] elm: Fixed shadow variable warnings during compilation. elm_bubble.eo.c:110:14: warning: declaration of 'access' shadows a global declaration [-Wshadow] Special thanks to Jack DanielZ --- src/lib/elm_clock.eo | 2 +- src/lib/elm_diskselector.c | 4 ++-- src/lib/elm_widget.eo | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/elm_clock.eo b/src/lib/elm_clock.eo index 7f36e15..e6d0334 100644 --- a/src/lib/elm_clock.eo +++ b/src/lib/elm_clock.eo @@ -171,7 +171,7 @@ class Elm_Clock (Elm_Layout) @since 1.9 */ } values { - Eina_Bool pause; /*@ @c EINA_TRUE to pause clock, @c EINA_FALSE otherwise */ + Eina_Bool paused; /*@ @c EINA_TRUE to pause clock, @c EINA_FALSE otherwise */ } } time { diff --git a/src/lib/elm_diskselector.c b/src/lib/elm_diskselector.c index 43392a0..a7015bc 100644 --- a/src/lib/elm_diskselector.c +++ b/src/lib/elm_diskselector.c @@ -1404,9 +1404,9 @@ _elm_diskselector_evas_smart_member_add(Eo *obj, Elm_Diskselector_Data *sd, Evas } EOLIAN static void -_elm_diskselector_elm_widget_access(Eo *obj EINA_UNUSED, Elm_Diskselector_Data *_pd EINA_UNUSED, Eina_Bool access) +_elm_diskselector_elm_widget_access(Eo *obj EINA_UNUSED, Elm_Diskselector_Data *_pd EINA_UNUSED, Eina_Bool acs) { - _elm_diskselector_smart_focus_next_enable = access; + _elm_diskselector_smart_focus_next_enable = acs; } EAPI Evas_Object * diff --git a/src/lib/elm_widget.eo b/src/lib/elm_widget.eo index 8ae85f3..0a770fe 100644 --- a/src/lib/elm_widget.eo +++ b/src/lib/elm_widget.eo @@ -513,7 +513,7 @@ abstract Elm_Widget (Evas_Smart) access { /*@ 'Virtual' function on the widget being set access. */ params { - @in Eina_Bool access; + @in Eina_Bool acs; } legacy null; } -- 2.7.4