kimcinoo pushed a commit to branch master.

commit abbf6ecac21e44d8e56fb5cfa576fb4a8f570ede
Author: Shinwoo Kim <[email protected]>
Date:   Fri Mar 1 19:03:36 2013 +0900

    [access] check whether a highlight object is NULL or not
---
 src/lib/elm_access.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_access.c b/src/lib/elm_access.c
index fb93527..84b68e1 100644
--- a/src/lib/elm_access.c
+++ b/src/lib/elm_access.c
@@ -415,7 +415,6 @@ EAPI void
 _elm_access_highlight_object_activate(Evas_Object *obj, Elm_Activate act)
 {
    Evas_Object *highlight;
-   Elm_Access_Info *ac;
 
    highlight = _access_highlight_object_get(obj);
    if (!highlight) return;
@@ -435,6 +434,7 @@ _elm_access_highlight_cycle(Evas_Object *obj, 
Elm_Focus_Direction dir)
    Elm_Widget_Smart_Data *wd;
    Evas_Object *ho;
    ho = _access_highlight_object_get(obj);
+   if (!ho) return;
 
    /* find highlight root */
    do

-- 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb

Reply via email to