efl_ui_theme: Introduce Efl.Ui.Theme class 38/193438/1 accepted/tizen/unified/20181127.073237 submit/tizen/20181121.085850
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 20 Nov 2018 11:34:46 +0000 (20:34 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 20 Nov 2018 11:35:14 +0000 (20:35 +0900)
Efl.Ui.Theme class is required to support language bindings.
Efl.Ui.Theme works based on current elm_theme features.

Change-Id: I493db9c94ffb3266f267debde6544f6a03ebdde5

src/mobile/eext_floatingbutton.c

index 1f1f2ffa8da53a23a8faf9cb166cf96d6e4e0e49..12d0030efb4d653ebc030e6e301a9153894ceef4 100644 (file)
@@ -598,14 +598,14 @@ _btn_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info
    _update_pos(data, fbd, EINA_FALSE);
 }
 
-EOLIAN static Efl_Ui_Theme_Apply
+EOLIAN static Efl_Ui_Theme_Apply_Result
 _eext_floatingbutton_efl_ui_widget_theme_apply(Eo *obj, Eext_Floatingbutton_Data *sd)
 {
-   Efl_Ui_Theme_Apply int_ret = EFL_UI_THEME_APPLY_FAILED;
+   Efl_Ui_Theme_Apply_Result int_ret = EFL_UI_THEME_APPLY_RESULT_FAIL;
    char buf[256];
 
    int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS));
-   if (!int_ret) return EFL_UI_THEME_APPLY_FAILED;
+   if (!int_ret) return EFL_UI_THEME_APPLY_RESULT_FAIL;
 
    snprintf(buf, sizeof(buf), "floatingbutton/%s", elm_object_style_get(obj));