forked from enlightenment/efl
edje_edit: fixing -Wshadow compile warning with edje_edit_access_set
Summary: There was -Wshadow compile warning with edje_edit_access_set and one of it's param called access. Changed it's name to avoid such annoying warning Reviewers: Hermet, raster, cedric, seoz Reviewed By: Hermet CC: reutskiy.v.v, cedric Differential Revision: https://phab.enlightenment.org/D1106
This commit is contained in:
parent
2b31945f5e
commit
75d65aef9c
|
@ -3676,13 +3676,13 @@ edje_edit_part_access_get(Evas_Object *obj, const char *part)
|
|||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
edje_edit_part_access_set(Evas_Object *obj, const char *part, Eina_Bool access)
|
||||
edje_edit_part_access_set(Evas_Object *obj, const char *part, Eina_Bool access_mode)
|
||||
{
|
||||
GET_RP_OR_RETURN(EINA_FALSE);
|
||||
|
||||
if (!rp->object) return EINA_FALSE;
|
||||
|
||||
rp->part->access = access;
|
||||
rp->part->access = access_mode;
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue