bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/misc/entrance.git/commit/?id=9923adc67d4ef0332a9b5578258f95f5eb4eb3da

commit 9923adc67d4ef0332a9b5578258f95f5eb4eb3da
Author: Marcel Hollerbach <marcel.hollerb...@stzedn.de>
Date:   Wed Apr 9 12:40:52 2014 +0200

    entrance: take EINA_LIST_FOREACH in "{"
---
 src/bin/entrance_conf_user.c | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/src/bin/entrance_conf_user.c b/src/bin/entrance_conf_user.c
index eeefbe9..269b9c1 100644
--- a/src/bin/entrance_conf_user.c
+++ b/src/bin/entrance_conf_user.c
@@ -116,14 +116,16 @@ _entrance_conf_session_update(Evas_Object *session_sel)
      elm_object_text_set(session_sel, "None");
 
    if (_entrance_int_conf_user->lsess)
-     EINA_LIST_FOREACH(sessions, node, session)
-       {
-          if ((_entrance_int_conf_user->lsess) &&
-              !strcmp(_entrance_int_conf_user->lsess,session->name))
-            {
-               icon = session->icon;
-            }
-       }
+     {
+        EINA_LIST_FOREACH(sessions, node, session)
+         {
+            if ((_entrance_int_conf_user->lsess) &&
+                !strcmp(_entrance_int_conf_user->lsess,session->name))
+              {
+                 icon = session->icon;
+              }
+         }
+     }
    //create the icon
    ic = elm_object_part_content_get(session_sel, "icon");
    if (icon)

-- 


Reply via email to