elementary/elm_win : Patch from Rajeev. Thanks. - Removed the
authorwoohyun <woohyun@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 9 Apr 2012 10:56:42 +0000 (10:56 +0000)
committerRajeev Ranjan <rajeev.r@samsung.com>
Mon, 9 Apr 2012 13:11:26 +0000 (18:41 +0530)
unnecessary comparison for sub-object list not being NULL as it has
been done aleady earlier.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69972 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_win.c

index 9a22e9c..b0ca72e 100644 (file)
@@ -509,10 +509,8 @@ _elm_win_focus_next_hook(const Evas_Object *obj, Elm_Focus_Direction dir, Evas_O
    if (list)
      {
         if (!(items = elm_widget_focus_custom_chain_get(obj)))
-          {
-             if (!list) return EINA_FALSE;
-             items = list;
-          }
+          items = list;
+
         list_data_get = eina_list_data_get;
 
         elm_widget_focus_list_next_get(obj, items, list_data_get, dir, next);
@@ -520,7 +518,6 @@ _elm_win_focus_next_hook(const Evas_Object *obj, Elm_Focus_Direction dir, Evas_O
         if (*next)
           return EINA_TRUE;
      }
-
    *next = (Evas_Object *)obj;
    return EINA_FALSE;
 }