rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=28b4bbf2ea9f9310a1afad5028973967552b9e39

commit 28b4bbf2ea9f9310a1afad5028973967552b9e39
Author: Vitalii Vorobiov <vi.vorob...@samsung.com>
Date:   Thu Jul 23 15:02:41 2015 +0300

    Live View Property: remove unnecessary data
    
    Part name is no longer required for seting swallows/texts in live view
---
 src/bin/ui/live_view/live_view_prop.c | 2 --
 src/bin/ui/live_view/live_widgets.h   | 1 -
 2 files changed, 3 deletions(-)

diff --git a/src/bin/ui/live_view/live_view_prop.c 
b/src/bin/ui/live_view/live_view_prop.c
index db8dba6..face6dd 100644
--- a/src/bin/ui/live_view/live_view_prop.c
+++ b/src/bin/ui/live_view/live_view_prop.c
@@ -317,7 +317,6 @@ live_view_property_style_set(Evas_Object *property,
              evas_object_smart_callback_add(check, "changed",
                                             
evas_object_data_get(pd->live_object, SWALLOW_FUNC),
                                             pd);
-             evas_object_data_set(check, PART_NAME, 
eina_stringshare_add(part_name));
 
              if (!strcmp(part_name, "elm.swallow.action_area")) 
elm_object_disabled_set(check, true);
              elm_box_pack_end(pd->prop_swallow.swallows, check);
@@ -337,7 +336,6 @@ live_view_property_style_set(Evas_Object *property,
              evas_object_smart_callback_add(check, "changed",
                                             
evas_object_data_get(pd->live_object, TEXT_FUNC),
                                             pd);
-             evas_object_data_set(check, PART_NAME, 
eina_stringshare_add(part_name));
 
              elm_box_pack_end(pd->prop_text.texts, check);
           }
diff --git a/src/bin/ui/live_view/live_widgets.h 
b/src/bin/ui/live_view/live_widgets.h
index bb821a8..6cab121 100644
--- a/src/bin/ui/live_view/live_widgets.h
+++ b/src/bin/ui/live_view/live_widgets.h
@@ -27,7 +27,6 @@
 
 #define ITEM "item"
 #define EDJE_EDIT_OBJ "edje_edit_obj"
-#define PART_NAME "part_name"
 #define SIGNAL_NAME "signal_data_name"
 #define SIGNAL_SOURCE "signal_data_source"
 

-- 


Reply via email to