tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6d135944beb79782d0e5ddd69a23fa5fedd5ee2e

commit 6d135944beb79782d0e5ddd69a23fa5fedd5ee2e
Author: Tom Hacohen <t...@stosb.com>
Date:   Fri Apr 15 13:40:23 2016 +0100

    Elm ctxpopup: Remove useless implementation of sub_object_add.
    
    Was just calling super and nothing more.
---
 src/lib/elementary/elc_ctxpopup.c  | 10 ----------
 src/lib/elementary/elm_ctxpopup.eo |  1 -
 2 files changed, 11 deletions(-)

diff --git a/src/lib/elementary/elc_ctxpopup.c 
b/src/lib/elementary/elc_ctxpopup.c
index b366493..07964f1 100644
--- a/src/lib/elementary/elc_ctxpopup.c
+++ b/src/lib/elementary/elc_ctxpopup.c
@@ -617,16 +617,6 @@ _elm_ctxpopup_elm_layout_sub_object_add_enable(Eo *obj 
EINA_UNUSED, Elm_Ctxpopup
    return EINA_FALSE;
 }
 
-EOLIAN static Eina_Bool
-_elm_ctxpopup_elm_widget_sub_object_add(Eo *obj, Elm_Ctxpopup_Data *_pd 
EINA_UNUSED, Evas_Object *sobj)
-{
-   Eina_Bool int_ret = EINA_FALSE;
-
-   int_ret = elm_obj_widget_sub_object_add(eo_super(obj, MY_CLASS), sobj);
-
-   return int_ret;
-}
-
 EOLIAN static void
 _elm_ctxpopup_elm_layout_sizing_eval(Eo *obj, Elm_Ctxpopup_Data *sd)
 {
diff --git a/src/lib/elementary/elm_ctxpopup.eo 
b/src/lib/elementary/elm_ctxpopup.eo
index 33447a2..d04e9e8 100644
--- a/src/lib/elementary/elm_ctxpopup.eo
+++ b/src/lib/elementary/elm_ctxpopup.eo
@@ -205,7 +205,6 @@ class Elm.Ctxpopup (Elm.Layout, 
Elm.Interface_Atspi_Widget_Action, Efl.Orientati
       Evas.Object_Smart.add;
       Elm.Widget.parent.set;
       Elm.Widget.focus_direction;
-      Elm.Widget.sub_object_add;
       Elm.Widget.focus_direction_manager_is;
       Elm.Widget.focus_next_manager_is;
       Elm.Widget.focus_next;

-- 


Reply via email to