summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elc_ctxpopup.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-30 18:47:21 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-30 18:54:59 +0900
commitf90d0d150163beb546e78c52786d6c2eb7706e8d (patch)
treec865d92ed8a93bdedab7c5fe3fd40269f63d4ab8 /src/lib/elementary/elc_ctxpopup.c
parenta2729d119d941090eed0148074f6da5eb638b720 (diff)
widget: Simplify & document "translate"
This is a protected function. It doesn't need to return anything, as all implementation just returned true, always. Also, the legacy API was just a wrapper doing nothing special (except verify that we have a widget, which the recursive code already does). Tested with fr_FR :) Ref T5363
Diffstat (limited to 'src/lib/elementary/elc_ctxpopup.c')
-rw-r--r--src/lib/elementary/elc_ctxpopup.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/elementary/elc_ctxpopup.c b/src/lib/elementary/elc_ctxpopup.c
index d80bb3e..5789135 100644
--- a/src/lib/elementary/elc_ctxpopup.c
+++ b/src/lib/elementary/elc_ctxpopup.c
@@ -47,7 +47,7 @@ static const Elm_Action key_actions[] = {
47 {NULL, NULL} 47 {NULL, NULL}
48}; 48};
49 49
50EOLIAN static Eina_Bool 50EOLIAN static void
51_elm_ctxpopup_elm_widget_translate(Eo *obj, Elm_Ctxpopup_Data *sd) 51_elm_ctxpopup_elm_widget_translate(Eo *obj, Elm_Ctxpopup_Data *sd)
52{ 52{
53 Eina_List *l; 53 Eina_List *l;
@@ -59,8 +59,6 @@ _elm_ctxpopup_elm_widget_translate(Eo *obj, Elm_Ctxpopup_Data *sd)
59 elm_wdg_item_translate(it); 59 elm_wdg_item_translate(it);
60 60
61 elm_obj_widget_translate(efl_super(obj, MY_CLASS)); 61 elm_obj_widget_translate(efl_super(obj, MY_CLASS));
62
63 return EINA_TRUE;
64} 62}
65 63
66EOLIAN static Eina_Bool 64EOLIAN static Eina_Bool