summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAvi Levin <avi.levin@samsung.com>2015-04-27 18:28:36 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2015-06-07 11:00:52 +0300
commit7d493fb4207dce83e35dc5f808d7fc1684f7c440 (patch)
tree429b4589f598f914c114759cd3a19a4ae90f07fe /src
parentf9c116a48749c642eb31154a4cfb5f60a110dcba (diff)
evas: porting evas smart callbacks to eo
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/canvas/evas_object_box.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/evas/canvas/evas_object_box.c b/src/lib/evas/canvas/evas_object_box.c
index eda1bcd9c1..675e63e719 100644
--- a/src/lib/evas/canvas/evas_object_box.c
+++ b/src/lib/evas/canvas/evas_object_box.c
@@ -221,7 +221,7 @@ _evas_box_internal_append(Eo *o, Evas_Object_Box_Data *priv, Evas_Object *child)
221 221
222 priv->children = eina_list_append(priv->children, opt); 222 priv->children = eina_list_append(priv->children, opt);
223 priv->children_changed = EINA_TRUE; 223 priv->children_changed = EINA_TRUE;
224 evas_object_smart_callback_call(o, SIG_CHILD_ADDED, opt); 224 eo_do(o, eo_event_callback_call(EVAS_BOX_EVENT_CHILD_ADDED, opt));
225 225
226 return opt; 226 return opt;
227} 227}
@@ -237,7 +237,7 @@ _evas_box_internal_prepend(Eo *o, Evas_Object_Box_Data *priv, Evas_Object *child
237 237
238 priv->children = eina_list_prepend(priv->children, opt); 238 priv->children = eina_list_prepend(priv->children, opt);
239 priv->children_changed = EINA_TRUE; 239 priv->children_changed = EINA_TRUE;
240 evas_object_smart_callback_call(o, SIG_CHILD_ADDED, opt); 240 eo_do(o, eo_event_callback_call(EVAS_BOX_EVENT_CHILD_ADDED, opt));
241 241
242 return opt; 242 return opt;
243} 243}
@@ -261,7 +261,7 @@ _evas_box_internal_insert_before(Eo *o, Evas_Object_Box_Data *priv, Evas_Object
261 priv->children = eina_list_prepend_relative 261 priv->children = eina_list_prepend_relative
262 (priv->children, new_opt, opt); 262 (priv->children, new_opt, opt);
263 priv->children_changed = EINA_TRUE; 263 priv->children_changed = EINA_TRUE;
264 evas_object_smart_callback_call(o, SIG_CHILD_ADDED, new_opt); 264 eo_do(o, eo_event_callback_call(EVAS_BOX_EVENT_CHILD_ADDED, new_opt));
265 return new_opt; 265 return new_opt;
266 } 266 }
267 } 267 }
@@ -288,7 +288,7 @@ _evas_box_internal_insert_after(Eo *o, Evas_Object_Box_Data *priv, Evas_Object *
288 priv->children = eina_list_append_relative 288 priv->children = eina_list_append_relative
289 (priv->children, new_opt, opt); 289 (priv->children, new_opt, opt);
290 priv->children_changed = EINA_TRUE; 290 priv->children_changed = EINA_TRUE;
291 evas_object_smart_callback_call(o, SIG_CHILD_ADDED, new_opt); 291 eo_do(o, eo_event_callback_call(EVAS_BOX_EVENT_CHILD_ADDED, new_opt));
292 return new_opt; 292 return new_opt;
293 } 293 }
294 } 294 }
@@ -311,7 +311,7 @@ _evas_box_internal_insert_at(Eo *o, Evas_Object_Box_Data *priv, Evas_Object *chi
311 311
312 priv->children = eina_list_prepend(priv->children, new_opt); 312 priv->children = eina_list_prepend(priv->children, new_opt);
313 priv->children_changed = EINA_TRUE; 313 priv->children_changed = EINA_TRUE;
314 evas_object_smart_callback_call(o, SIG_CHILD_ADDED, new_opt); 314 eo_do(o, eo_event_callback_call(EVAS_BOX_EVENT_CHILD_ADDED, new_opt));
315 return new_opt; 315 return new_opt;
316 } 316 }
317 317
@@ -330,7 +330,7 @@ _evas_box_internal_insert_at(Eo *o, Evas_Object_Box_Data *priv, Evas_Object *chi
330 priv->children = eina_list_prepend_relative 330 priv->children = eina_list_prepend_relative
331 (priv->children, new_opt, opt); 331 (priv->children, new_opt, opt);
332 priv->children_changed = EINA_TRUE; 332 priv->children_changed = EINA_TRUE;
333 evas_object_smart_callback_call(o, SIG_CHILD_ADDED, new_opt); 333 eo_do(o, eo_event_callback_call(EVAS_BOX_EVENT_CHILD_ADDED, new_opt));
334 return new_opt; 334 return new_opt;
335 } 335 }
336 } 336 }
@@ -352,7 +352,7 @@ _evas_box_internal_remove(Eo *o, Evas_Object_Box_Data *priv, Evas_Object *child)
352 priv->children = eina_list_remove(priv->children, opt); 352 priv->children = eina_list_remove(priv->children, opt);
353 eo_do(o, evas_obj_box_internal_option_free(opt)); 353 eo_do(o, evas_obj_box_internal_option_free(opt));
354 priv->children_changed = EINA_TRUE; 354 priv->children_changed = EINA_TRUE;
355 evas_object_smart_callback_call(o, SIG_CHILD_REMOVED, obj); 355 eo_do(o, eo_event_callback_call(EVAS_BOX_EVENT_CHILD_REMOVED, obj));
356 356
357 return obj; 357 return obj;
358 } 358 }
@@ -380,7 +380,7 @@ _evas_box_internal_remove_at(Eo *o, Evas_Object_Box_Data *priv, unsigned int pos
380 priv->children = eina_list_remove_list(priv->children, node); 380 priv->children = eina_list_remove_list(priv->children, node);
381 eo_do(o, evas_obj_box_internal_option_free(opt)); 381 eo_do(o, evas_obj_box_internal_option_free(opt));
382 priv->children_changed = EINA_TRUE; 382 priv->children_changed = EINA_TRUE;
383 evas_object_smart_callback_call(o, SIG_CHILD_REMOVED, obj); 383 eo_do(o, eo_event_callback_call(EVAS_BOX_EVENT_CHILD_REMOVED, obj));
384 return obj; 384 return obj;
385} 385}
386 386