summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_table.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-06-16 11:16:12 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-06-16 13:10:34 +0900
commitda1e53820bf1786e2ada9be5e9f9ae7bb0704020 (patch)
treeae8e352186b037b54b7ab590dd9aae15e8404cbb /src/lib/evas/canvas/evas_object_table.c
parent74e1c9bb7591228d988b189812b206dc5575ac9c (diff)
Evas: Fix usage of callback arrays
This should fix compilation of EFL for Windows (at least this is one more step...) - evas box - evas table
Diffstat (limited to 'src/lib/evas/canvas/evas_object_table.c')
-rw-r--r--src/lib/evas/canvas/evas_object_table.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lib/evas/canvas/evas_object_table.c b/src/lib/evas/canvas/evas_object_table.c
index dd6d74e..f6c4486 100644
--- a/src/lib/evas/canvas/evas_object_table.c
+++ b/src/lib/evas/canvas/evas_object_table.c
@@ -263,22 +263,21 @@ _on_child_hints_changed(void *data, const Eo_Event *event EINA_UNUSED)
263 return EO_CALLBACK_CONTINUE; 263 return EO_CALLBACK_CONTINUE;
264} 264}
265 265
266static const Eo_Callback_Array_Item evas_object_table_callbacks[] = { 266EO_CALLBACKS_ARRAY_DEFINE(evas_object_table_callbacks,
267 { EVAS_OBJECT_EVENT_DEL, _on_child_del }, 267 { EVAS_OBJECT_EVENT_DEL, _on_child_del },
268 { EFL_GFX_EVENT_CHANGE_SIZE_HINTS, _on_child_hints_changed }, 268 { EFL_GFX_EVENT_CHANGE_SIZE_HINTS, _on_child_hints_changed }
269 { NULL, NULL } 269);
270};
271 270
272static void 271static void
273_evas_object_table_child_connect(Evas_Object *o, Evas_Object *child) 272_evas_object_table_child_connect(Evas_Object *o, Evas_Object *child)
274{ 273{
275 eo_event_callback_array_add(child, evas_object_table_callbacks, o); 274 eo_event_callback_array_add(child, evas_object_table_callbacks(), o);
276} 275}
277 276
278static void 277static void
279_evas_object_table_child_disconnect(Evas_Object *o, Evas_Object *child) 278_evas_object_table_child_disconnect(Evas_Object *o, Evas_Object *child)
280{ 279{
281 eo_event_callback_array_del(child, evas_object_table_callbacks, o); 280 eo_event_callback_array_del(child, evas_object_table_callbacks(), o);
282} 281}
283 282
284static void 283static void