summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elc_ctxpopup.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-23 20:41:37 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-23 20:56:37 +0900
commit3f9c239b277c5af10f33f262aabdd719e43dd99c (patch)
tree7a5c0db56222851f2b5fb6853c3bbed30478b168 /src/lib/elementary/elc_ctxpopup.c
parentc071fd453b01809d4cf6adec4fa2b839e63ef32a (diff)
widget: Make sub_object add/del protected (EO)
Also prefix with widget. I want to rename this as child rather than sub. It's inconsistent with the other parent/child hierarchies. Anyway the various hierarchies are confusing, so let's keep this name :) Ref T5363
Diffstat (limited to 'src/lib/elementary/elc_ctxpopup.c')
-rw-r--r--src/lib/elementary/elc_ctxpopup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/elc_ctxpopup.c b/src/lib/elementary/elc_ctxpopup.c
index 1c85606..eb2e14f 100644
--- a/src/lib/elementary/elc_ctxpopup.c
+++ b/src/lib/elementary/elc_ctxpopup.c
@@ -599,12 +599,12 @@ _base_shift_by_arrow(Evas_Object *arrow,
599} 599}
600 600
601EOLIAN static Eina_Bool 601EOLIAN static Eina_Bool
602_elm_ctxpopup_elm_widget_sub_object_add(Eo *obj, Elm_Ctxpopup_Data *_pd EINA_UNUSED, Evas_Object *sobj) 602_elm_ctxpopup_elm_widget_widget_sub_object_add(Eo *obj, Elm_Ctxpopup_Data *_pd EINA_UNUSED, Evas_Object *sobj)
603{ 603{
604 /* Skipping elm_layout sub_object_add in order to ignore size hint changes. 604 /* Skipping elm_layout widget_sub_object_add in order to ignore size hint changes.
605 * Note: It is not clear WHY we are doing this. Same reason as genlist? 605 * Note: It is not clear WHY we are doing this. Same reason as genlist?
606 */ 606 */
607 return elm_obj_widget_sub_object_add(efl_cast(obj, ELM_WIDGET_CLASS), sobj); 607 return elm_widget_sub_object_add(efl_cast(obj, ELM_WIDGET_CLASS), sobj);
608} 608}
609 609
610EOLIAN static void 610EOLIAN static void