diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/elementary/elm_part_helper.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_part_helper.h b/src/lib/elementary/elm_part_helper.h index 08612ff1df..bf84b5710a 100644 --- a/src/lib/elementary/elm_part_helper.h +++ b/src/lib/elementary/elm_part_helper.h | |||
@@ -150,6 +150,16 @@ EOLIAN static const char * \ | |||
150 | _ ## type ## _efl_text_text_get(Eo *obj, Type *pd EINA_UNUSED) \ | 150 | _ ## type ## _efl_text_text_get(Eo *obj, Type *pd EINA_UNUSED) \ |
151 | { \ | 151 | { \ |
152 | return efl_text_get(efl_part(efl_super(obj, MY_CLASS), "elm.text")); \ | 152 | return efl_text_get(efl_part(efl_super(obj, MY_CLASS), "elm.text")); \ |
153 | } \ | ||
154 | EOLIAN static void \ | ||
155 | _ ## type ## _efl_ui_translatable_translatable_text_set(Eo *obj, Type *pd EINA_UNUSED, const char *label, const char *domain) \ | ||
156 | { \ | ||
157 | efl_ui_translatable_text_set(efl_part(efl_super(obj, MY_CLASS), "elm.text"), label, domain); \ | ||
158 | } \ | ||
159 | EOLIAN static const char * \ | ||
160 | _ ## type ## _efl_ui_translatable_translatable_text_get(Eo *obj, Type *pd EINA_UNUSED, const char **domain) \ | ||
161 | { \ | ||
162 | return efl_ui_translatable_text_get(efl_part(efl_super(obj, MY_CLASS), "elm.text"), domain); \ | ||
153 | } | 163 | } |
154 | 164 | ||
155 | #endif | 165 | #endif |