summaryrefslogtreecommitdiff
path: root/src/examples/elementary
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-06-20 15:31:31 +0100
committerTom Hacohen <tom@stosb.com>2016-06-20 18:02:00 +0100
commit6202cc7485a54dea6f02a2668e7c907247902dd1 (patch)
tree7a1fa2b61175b1ef75a9bff7299a0ce3daa45216 /src/examples/elementary
parentd648eb5311585f7392d0290640ba133814b52589 (diff)
Adjust the code according to the eo event stop changes.
This was changed in the previous commit.
Diffstat (limited to 'src/examples/elementary')
-rw-r--r--src/examples/elementary/filemvc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/examples/elementary/filemvc.c b/src/examples/elementary/filemvc.c
index f4d7890578..09950214a9 100644
--- a/src/examples/elementary/filemvc.c
+++ b/src/examples/elementary/filemvc.c
@@ -46,7 +46,7 @@ _filter_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, const Eina_Fil
46 return EINA_FALSE; 46 return EINA_FALSE;
47} 47}
48 48
49static Eina_Bool 49static void
50_list_selected_cb(void *data EINA_UNUSED, const Eo_Event *event) 50_list_selected_cb(void *data EINA_UNUSED, const Eo_Event *event)
51{ 51{
52 Efl_Model_Test_Filemvc_Data *priv = data; 52 Efl_Model_Test_Filemvc_Data *priv = data;
@@ -55,7 +55,6 @@ _list_selected_cb(void *data EINA_UNUSED, const Eo_Event *event)
55 55
56 printf("LIST selected model\n"); 56 printf("LIST selected model\n");
57 elm_view_form_model_set(priv->formview, child); 57 elm_view_form_model_set(priv->formview, child);
58 return EINA_TRUE;
59} 58}
60 59
61static void 60static void
@@ -75,7 +74,7 @@ _promise_error(void *data, const Eina_Error err)
75{ 74{
76} 75}
77 76
78static Eina_Bool 77static void
79_tree_selected_cb(void *data, const Eo_Event *event) 78_tree_selected_cb(void *data, const Eo_Event *event)
80{ 79{
81 Efl_Model_Test_Filemvc_Data *priv = data; 80 Efl_Model_Test_Filemvc_Data *priv = data;
@@ -86,7 +85,6 @@ _tree_selected_cb(void *data, const Eo_Event *event)
86 85
87 promise= efl_model_property_get(child, "path"); 86 promise= efl_model_property_get(child, "path");
88 eina_promise_then(promise, &_promise_then, &_promise_error, priv); 87 eina_promise_then(promise, &_promise_then, &_promise_error, priv);
89 return EINA_TRUE;
90} 88}
91 89
92static void 90static void