summaryrefslogtreecommitdiff
path: root/src/tests/eio
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-04-12 15:23:55 +0100
committerTom Hacohen <tom@stosb.com>2016-04-12 15:23:55 +0100
commitf14305024e28d9d427b69a2fc2ebc9f842f25353 (patch)
tree26e4adc8a26ed7789cb6c3682ca04740a4c6d091 /src/tests/eio
parent736fb9d4980a7dee83ca0721d8b9b58c6c12a39d (diff)
Eo event: rename Eo_Event->event_info to Eo_Event->info.
The previous naming was redundant and too long.
Diffstat (limited to 'src/tests/eio')
-rw-r--r--src/tests/eio/eio_model_test_file.c6
-rw-r--r--src/tests/eio/eio_model_test_monitor_add.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/src/tests/eio/eio_model_test_file.c b/src/tests/eio/eio_model_test_file.c
index dc89c6f14a..c4b3686ae8 100644
--- a/src/tests/eio/eio_model_test_file.c
+++ b/src/tests/eio/eio_model_test_file.c
@@ -61,7 +61,7 @@ static Eina_Bool
61static Eina_Bool 61static Eina_Bool
62_load_status_cb(void *data EINA_UNUSED, const Eo_Event *event) 62_load_status_cb(void *data EINA_UNUSED, const Eo_Event *event)
63{ 63{
64 Efl_Model_Load *st = event->event_info; 64 Efl_Model_Load *st = event->info;
65 printf("Load CHANGE\n"); 65 printf("Load CHANGE\n");
66 66
67 if (st->status & EFL_MODEL_LOAD_STATUS_LOADED_CHILDREN) 67 if (st->status & EFL_MODEL_LOAD_STATUS_LOADED_CHILDREN)
@@ -113,7 +113,7 @@ _load_status_cb(void *data EINA_UNUSED, const Eo_Event *event)
113static Eina_Bool 113static Eina_Bool
114_properties_change_cb(void *data EINA_UNUSED, const Eo_Event *event) 114_properties_change_cb(void *data EINA_UNUSED, const Eo_Event *event)
115{ 115{
116 const Efl_Model_Property_Event *evt = (Efl_Model_Property_Event *)event->event_info; 116 const Efl_Model_Property_Event *evt = (Efl_Model_Property_Event *)event->info;
117 const char *prop; 117 const char *prop;
118 Eina_Array_Iterator it; 118 Eina_Array_Iterator it;
119 unsigned int i; 119 unsigned int i;
@@ -137,7 +137,7 @@ _properties_change_cb(void *data EINA_UNUSED, const Eo_Event *event)
137static Eina_Bool 137static Eina_Bool
138_children_count_cb(void *data EINA_UNUSED, const Eo_Event *event) 138_children_count_cb(void *data EINA_UNUSED, const Eo_Event *event)
139{ 139{
140 unsigned int *len = (unsigned int *)event->event_info; 140 unsigned int *len = (unsigned int *)event->info;
141 unsigned int total; 141 unsigned int total;
142 142
143 fprintf(stdout, "Children count number=%d\n", *len); 143 fprintf(stdout, "Children count number=%d\n", *len);
diff --git a/src/tests/eio/eio_model_test_monitor_add.c b/src/tests/eio/eio_model_test_monitor_add.c
index dd92ef0a51..47b1509c8d 100644
--- a/src/tests/eio/eio_model_test_monitor_add.c
+++ b/src/tests/eio/eio_model_test_monitor_add.c
@@ -21,7 +21,7 @@ const char* tmpdir = NULL;
21static Eina_Bool 21static Eina_Bool
22_load_monitor_status_cb(void *data, const Eo_Event *event) 22_load_monitor_status_cb(void *data, const Eo_Event *event)
23{ 23{
24 Efl_Model_Load* st = event->event_info; 24 Efl_Model_Load* st = event->info;
25 Eo* parent = data; 25 Eo* parent = data;
26 const Eina_Value* value_prop = NULL; 26 const Eina_Value* value_prop = NULL;
27 const char* str = NULL; 27 const char* str = NULL;
@@ -51,7 +51,7 @@ _children_removed_cb(void *data EINA_UNUSED, const Eo_Event *event)
51{ 51{
52 if(children_added) 52 if(children_added)
53 { 53 {
54 Efl_Model_Children_Event* evt = event->event_info; 54 Efl_Model_Children_Event* evt = event->info;
55 55
56 Eina_Bool b; 56 Eina_Bool b;
57 b = efl_model_load_status_get(evt->child); 57 b = efl_model_load_status_get(evt->child);
@@ -75,7 +75,7 @@ _children_removed_cb(void *data EINA_UNUSED, const Eo_Event *event)
75static Eina_Bool 75static Eina_Bool
76_children_added_cb(void *data EINA_UNUSED, const Eo_Event *event) 76_children_added_cb(void *data EINA_UNUSED, const Eo_Event *event)
77{ 77{
78 Efl_Model_Children_Event* evt = event->event_info; 78 Efl_Model_Children_Event* evt = event->info;
79 if (evt == NULL) 79 if (evt == NULL)
80 return EINA_TRUE; 80 return EINA_TRUE;
81 81
@@ -88,7 +88,7 @@ _children_added_cb(void *data EINA_UNUSED, const Eo_Event *event)
88static Eina_Bool 88static Eina_Bool
89_children_count_cb(void *data EINA_UNUSED, const Eo_Event *event) 89_children_count_cb(void *data EINA_UNUSED, const Eo_Event *event)
90{ 90{
91 unsigned int *len = event->event_info; 91 unsigned int *len = event->info;
92 Eina_Accessor *accessor; 92 Eina_Accessor *accessor;
93 Efl_Model_Load_Status status; 93 Efl_Model_Load_Status status;
94 Eo *child; 94 Eo *child;