rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=5fa588500b55652790ab6df232ab6a1976db5c34

commit 5fa588500b55652790ab6df232ab6a1976db5c34
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Fri Feb 12 17:58:49 2016 +0200

    demo: fix default color for swallow parts
---
 src/bin/ui/demo_group.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/bin/ui/demo_group.c b/src/bin/ui/demo_group.c
index 8e75bc1..9c9093b 100644
--- a/src/bin/ui/demo_group.c
+++ b/src/bin/ui/demo_group.c
@@ -305,6 +305,10 @@ demo_group_add(Group *group)
              demo_part = mem_calloc(1, sizeof(Demo_Part));
              demo_part->name = eina_stringshare_add(part->name);
              demo_part->type = part->type;
+             demo_part->a = 255;
+             demo_part->r = 255;
+             demo_part->g = 255;
+             demo_part->b = 255;
              pl->swallow_list = eina_list_append(pl->swallow_list, demo_part);
           }
      }
@@ -394,6 +398,10 @@ demo_group_part_add(Evas_Object *demo, Part *part)
         demo_part = mem_calloc(1, sizeof(Demo_Part));
         demo_part->name = eina_stringshare_add(part->name);
         demo_part->type = part->type;
+        demo_part->a = 255;
+        demo_part->r = 255;
+        demo_part->g = 255;
+        demo_part->b = 255;
         pl->swallow_list = eina_list_append(pl->swallow_list, demo_part);
         elm_genlist_item_append(pl->genlist,
                                 itc_part,

-- 


Reply via email to