From: Marcel Hollerbach Date: Sun, 17 Feb 2019 18:11:05 +0000 (+0100) Subject: efl_ui_theme: fix example X-Git-Tag: submit/tizen/20190308.115227~170 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a65a0b14b4ba5d7a9dbb76e95f9af8f5af066b8;p=platform%2Fupstream%2Fefl.git efl_ui_theme: fix example --- diff --git a/src/examples/elementary/efl_ui_theme_example_01.c b/src/examples/elementary/efl_ui_theme_example_01.c index 1c901a5..601dd5c 100644 --- a/src/examples/elementary/efl_ui_theme_example_01.c +++ b/src/examples/elementary/efl_ui_theme_example_01.c @@ -16,7 +16,7 @@ _btn_extension_clicked_cb(void *data EINA_UNUSED, const Efl_Event *event) static Eina_Bool loaded = EINA_TRUE; Efl_Ui_Theme *default_theme; - default_theme = efl_ui_theme_default_get(efl_ui_theme_class_get()); + default_theme = efl_ui_theme_default_get(); if (loaded) { @@ -48,7 +48,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED) efl_exit(0); } - default_theme = efl_ui_theme_default_get(efl_ui_theme_class_get()); + default_theme = efl_ui_theme_default_get(); efl_ui_theme_extension_add(default_theme, EXAMPLE_EDJ_FILE_PATH); win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(), diff --git a/src/examples/elementary/efl_ui_theme_example_02.c b/src/examples/elementary/efl_ui_theme_example_02.c index f742d1d..a8c81de 100644 --- a/src/examples/elementary/efl_ui_theme_example_02.c +++ b/src/examples/elementary/efl_ui_theme_example_02.c @@ -16,7 +16,7 @@ _btn_overlay_clicked_cb(void *data EINA_UNUSED, const Efl_Event *event) static Eina_Bool loaded = EINA_TRUE; Efl_Ui_Theme *default_theme; - default_theme = efl_ui_theme_default_get(efl_ui_theme_class_get()); + default_theme = efl_ui_theme_default_get(); if (loaded) { @@ -48,7 +48,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED) efl_exit(0); } - default_theme = efl_ui_theme_default_get(efl_ui_theme_class_get()); + default_theme = efl_ui_theme_default_get(); efl_ui_theme_overlay_add(default_theme, EXAMPLE_EDJ_FILE_PATH); win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),