yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=affc05b9d6b70d49de587506af5bb08cb06dfdac

commit affc05b9d6b70d49de587506af5bb08cb06dfdac
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Tue Oct 27 14:12:50 2015 +0200

    Remove unused code
---
 src/bin/gui/editor.c   | 19 -------------------
 src/bin/gui/propview.h |  1 -
 2 files changed, 20 deletions(-)

diff --git a/src/bin/gui/editor.c b/src/bin/gui/editor.c
index 6dce6bd..4b02ac7 100644
--- a/src/bin/gui/editor.c
+++ b/src/bin/gui/editor.c
@@ -3577,24 +3577,6 @@ end:
    return EO_CALLBACK_CONTINUE;
 }
 
-static Eina_Bool
-_prop_del_from_propview(void *data, Eo *obj EINA_UNUSED, const 
Eo_Event_Description *desc EINA_UNUSED, void *ev EINA_UNUSED)
-{
-   const Gui_Widget *wdg = _editor_wdg_selected_get();
-   Gui_Widget_Property *prop = data;
-
-   wdg_prop_remove((Gui_Widget *) wdg, prop);
-
-   _wdg_parent_win_reload(wdg);
-
-   proplayout_build(NULL);
-
-   _editor_wdg_selected_set(wdg);
-   objtree_build(wdg_context_get(wdg));
-   objtree_item_selected_set(wdg);
-   return EO_CALLBACK_CONTINUE;
-}
-
 /* Callback to dissmiss "Drop Property" ctxpopup */
 static void
 _ctxpopup_dismissed(void *data EINA_UNUSED, Evas_Object *obj, void *event_info 
EINA_UNUSED)
@@ -4737,7 +4719,6 @@ editor_init(GuiLogicCbs *_guilogic_cbs)
 
    PropViewCbs *prop_cbs = propview_cbs_get();
    prop_cbs->property_update_cb_func = _prop_update_from_propview;
-   prop_cbs->property_delete_cb_func = _prop_del_from_propview;
    prop_cbs->property_ctx_menu_cb_func = _prop_ctx_menu_cb_func;
 
    ContentViewCbs *content_cbs = contentview_cbs_get();
diff --git a/src/bin/gui/propview.h b/src/bin/gui/propview.h
index 4d9a8ac..3af7d00 100644
--- a/src/bin/gui/propview.h
+++ b/src/bin/gui/propview.h
@@ -9,7 +9,6 @@
 typedef struct
 {
    Eina_Bool (*property_update_cb_func)(void *data, Eo *obj, const 
Eo_Event_Description *desc, void *event_info);
-   Eina_Bool (*property_delete_cb_func)(void *data, Eo *obj, const 
Eo_Event_Description *desc, void *event_info);
    Eina_Bool (*property_ctx_menu_cb_func)(void *data, Eo *obj, const 
Eo_Event_Description *desc, void *event_info);
 } PropViewCbs;
 

-- 


Reply via email to