summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elc_naviframe.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_naviframe.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_naviframe.c')
-rw-r--r--src/lib/elementary/elc_naviframe.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/elementary/elc_naviframe.c b/src/lib/elementary/elc_naviframe.c
index 4897d45..098cc1f 100644
--- a/src/lib/elementary/elc_naviframe.c
+++ b/src/lib/elementary/elc_naviframe.c
@@ -105,7 +105,7 @@ _prev_page_focus_recover(Elm_Naviframe_Item_Data *it)
105 } 105 }
106} 106}
107 107
108EOLIAN static Eina_Bool 108EOLIAN static void
109_elm_naviframe_elm_widget_translate(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) 109_elm_naviframe_elm_widget_translate(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd)
110{ 110{
111 Elm_Naviframe_Item_Data *it; 111 Elm_Naviframe_Item_Data *it;
@@ -114,8 +114,6 @@ _elm_naviframe_elm_widget_translate(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd)
114 elm_wdg_item_translate(EO_OBJ(it)); 114 elm_wdg_item_translate(EO_OBJ(it));
115 115
116 elm_obj_widget_translate(efl_super(obj, MY_CLASS)); 116 elm_obj_widget_translate(efl_super(obj, MY_CLASS));
117
118 return EINA_TRUE;
119} 117}
120 118
121static void 119static void