From 5a65a0b14b4ba5d7a9dbb76e95f9af8f5af066b8 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Sun, 17 Feb 2019 19:11:05 +0100 Subject: [PATCH] efl_ui_theme: fix example --- src/examples/elementary/efl_ui_theme_example_01.c | 4 ++-- src/examples/elementary/efl_ui_theme_example_02.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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(), -- 2.7.4