summaryrefslogtreecommitdiff
path: root/src/examples/elementary/efl_ui_list_view_example_1.c
diff options
context:
space:
mode:
authorSangHyeon Jade Lee <sh10233.lee@samsung.com>2019-09-04 11:07:37 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-09-04 11:07:37 -0400
commit4e379f5db4861301b77bf945f7365cb0faa04feb (patch)
tree50a12adf37d0b44eaf253a9dac24e2e1a8c82e75 /src/examples/elementary/efl_ui_list_view_example_1.c
parent8b49bdb830b8c7b921712ed467f89aa8d6e6ca3f (diff)
Efl_Ui: Move elementary and change namespace Ui for ui related models
Summary: Select and View is ui characteristic features, so Efl_Select_Model and Efl_View_Model move to elementary from ecore seems more natural. namespace also should changed to Efl.Ui as it's right place. Test Plan: run the test while building it Reviewers: cedric, felipealmeida, bu5hm4n, zmike, lauromoura Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9820
Diffstat (limited to 'src/examples/elementary/efl_ui_list_view_example_1.c')
-rw-r--r--src/examples/elementary/efl_ui_list_view_example_1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/elementary/efl_ui_list_view_example_1.c b/src/examples/elementary/efl_ui_list_view_example_1.c
index c0b377b128..757082aa9d 100644
--- a/src/examples/elementary/efl_ui_list_view_example_1.c
+++ b/src/examples/elementary/efl_ui_list_view_example_1.c
@@ -74,7 +74,7 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
74 Efl_Ui_Factory *factory; 74 Efl_Ui_Factory *factory;
75 Evas_Object *win, *li; 75 Evas_Object *win, *li;
76 Eo *model; 76 Eo *model;
77 Efl_Select_Model *selmodel; 77 Efl_Ui_Select_Model *selmodel;
78 78
79 win = elm_win_util_standard_add("list_view", "List_View"); 79 win = elm_win_util_standard_add("list_view", "List_View");
80 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); 80 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
@@ -82,7 +82,7 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
82 elm_win_autodel_set(win, EINA_TRUE); 82 elm_win_autodel_set(win, EINA_TRUE);
83 83
84 model = _make_model(win); 84 model = _make_model(win);
85 selmodel = efl_add(EFL_SELECT_MODEL_CLASS, efl_main_loop_get() 85 selmodel = efl_add(EFL_UI_SELECT_MODEL_CLASS, efl_main_loop_get()
86 , efl_ui_view_model_set(efl_added, model) 86 , efl_ui_view_model_set(efl_added, model)
87 ); 87 );
88 88