summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-04-15 13:40:23 +0100
committerTom Hacohen <tom@stosb.com>2016-04-15 13:45:41 +0100
commit6d135944beb79782d0e5ddd69a23fa5fedd5ee2e (patch)
tree7e4f75b1b29a4aa7e375cf627b988fdd4d1abe76
parent22e3ea20ee4feecbc794d4bc45570a9e6982c3ff (diff)
Elm ctxpopup: Remove useless implementation of sub_object_add.
Was just calling super and nothing more.
-rw-r--r--src/lib/elementary/elc_ctxpopup.c10
-rw-r--r--src/lib/elementary/elm_ctxpopup.eo1
2 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/elementary/elc_ctxpopup.c b/src/lib/elementary/elc_ctxpopup.c
index b366493288..07964f1cd5 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
617 return EINA_FALSE; 617 return EINA_FALSE;
618} 618}
619 619
620EOLIAN static Eina_Bool
621_elm_ctxpopup_elm_widget_sub_object_add(Eo *obj, Elm_Ctxpopup_Data *_pd EINA_UNUSED, Evas_Object *sobj)
622{
623 Eina_Bool int_ret = EINA_FALSE;
624
625 int_ret = elm_obj_widget_sub_object_add(eo_super(obj, MY_CLASS), sobj);
626
627 return int_ret;
628}
629
630EOLIAN static void 620EOLIAN static void
631_elm_ctxpopup_elm_layout_sizing_eval(Eo *obj, Elm_Ctxpopup_Data *sd) 621_elm_ctxpopup_elm_layout_sizing_eval(Eo *obj, Elm_Ctxpopup_Data *sd)
632{ 622{
diff --git a/src/lib/elementary/elm_ctxpopup.eo b/src/lib/elementary/elm_ctxpopup.eo
index 33447a2e8e..d04e9e806b 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
205 Evas.Object_Smart.add; 205 Evas.Object_Smart.add;
206 Elm.Widget.parent.set; 206 Elm.Widget.parent.set;
207 Elm.Widget.focus_direction; 207 Elm.Widget.focus_direction;
208 Elm.Widget.sub_object_add;
209 Elm.Widget.focus_direction_manager_is; 208 Elm.Widget.focus_direction_manager_is;
210 Elm.Widget.focus_next_manager_is; 209 Elm.Widget.focus_next_manager_is;
211 Elm.Widget.focus_next; 210 Elm.Widget.focus_next;