forked from enlightenment/efl
[access] check whether a highlight object is NULL or not
This commit is contained in:
parent
2a10366721
commit
99f870ac39
|
@ -415,7 +415,6 @@ EAPI void
|
||||||
_elm_access_highlight_object_activate(Evas_Object *obj, Elm_Activate act)
|
_elm_access_highlight_object_activate(Evas_Object *obj, Elm_Activate act)
|
||||||
{
|
{
|
||||||
Evas_Object *highlight;
|
Evas_Object *highlight;
|
||||||
Elm_Access_Info *ac;
|
|
||||||
|
|
||||||
highlight = _access_highlight_object_get(obj);
|
highlight = _access_highlight_object_get(obj);
|
||||||
if (!highlight) return;
|
if (!highlight) return;
|
||||||
|
@ -435,6 +434,7 @@ _elm_access_highlight_cycle(Evas_Object *obj, Elm_Focus_Direction dir)
|
||||||
Elm_Widget_Smart_Data *wd;
|
Elm_Widget_Smart_Data *wd;
|
||||||
Evas_Object *ho;
|
Evas_Object *ho;
|
||||||
ho = _access_highlight_object_get(obj);
|
ho = _access_highlight_object_get(obj);
|
||||||
|
if (!ho) return;
|
||||||
|
|
||||||
/* find highlight root */
|
/* find highlight root */
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in New Issue