summaryrefslogtreecommitdiff
path: root/src/lib/eio/eio_model.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-08-10 15:23:04 +0100
committerTom Hacohen <tom@stosb.com>2016-08-11 17:04:43 +0100
commitc662934be8bcbaba60d1688e77533acbea5d09b9 (patch)
tree8e12b5ffd083024f09b7ec7fa9f979113056fb9d /src/lib/eio/eio_model.c
parente64e120a51972c44fb8cae88a78bb4aa34f502c7 (diff)
Change the EFL to follow the new Eo rename.
Diffstat (limited to 'src/lib/eio/eio_model.c')
-rw-r--r--src/lib/eio/eio_model.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/eio/eio_model.c b/src/lib/eio/eio_model.c
index d460199..00b83c7 100644
--- a/src/lib/eio/eio_model.c
+++ b/src/lib/eio/eio_model.c
@@ -95,7 +95,7 @@ _eio_move_done_cb(void *data, Eio_File *handler EINA_UNUSED)
95 eina_array_push(properties, _eio_model_prop_names[EIO_MODEL_PROP_FILENAME]); 95 eina_array_push(properties, _eio_model_prop_names[EIO_MODEL_PROP_FILENAME]);
96 evt.changed_properties = properties; 96 evt.changed_properties = properties;
97 97
98 eo_event_callback_call(priv->obj, EFL_MODEL_EVENT_PROPERTIES_CHANGED, &evt); 98 efl_event_callback_call(priv->obj, EFL_MODEL_EVENT_PROPERTIES_CHANGED, &evt);
99 eina_array_free(properties); 99 eina_array_free(properties);
100} 100}
101 101
@@ -180,7 +180,7 @@ _efl_model_evt_added_ecore_cb(void *data, int type, void *event)
180 eio_model_children_filter_set(cevt.child, priv->filter_cb, priv->filter_userdata); 180 eio_model_children_filter_set(cevt.child, priv->filter_cb, priv->filter_userdata);
181 eina_value_flush(&path); 181 eina_value_flush(&path);
182 182
183 eo_event_callback_call(priv->obj, EFL_MODEL_EVENT_CHILD_ADDED, &cevt); 183 efl_event_callback_call(priv->obj, EFL_MODEL_EVENT_CHILD_ADDED, &cevt);
184 184
185 return EINA_TRUE; 185 return EINA_TRUE;
186} 186}
@@ -213,7 +213,7 @@ _efl_model_evt_deleted_ecore_cb(void *data, int type, void *event)
213 cevt.index = i; 213 cevt.index = i;
214 cevt.child = cur->data; 214 cevt.child = cur->data;
215 215
216 eo_event_callback_call(priv->obj, EFL_MODEL_EVENT_CHILD_REMOVED, &cevt); 216 efl_event_callback_call(priv->obj, EFL_MODEL_EVENT_CHILD_REMOVED, &cevt);
217 217
218 priv->children_list = eina_list_remove_list(priv->children_list, cur); 218 priv->children_list = eina_list_remove_list(priv->children_list, cur);
219 eo_unref(cevt.child); 219 eo_unref(cevt.child);
@@ -649,9 +649,9 @@ _eio_model_efl_model_children_slice_get(Eo *obj EINA_UNUSED, Eio_Model_Data *pri
649 * Class definitions 649 * Class definitions
650 */ 650 */
651static Eo * 651static Eo *
652_eio_model_eo_base_constructor(Eo *obj, Eio_Model_Data *priv) 652_eio_model_efl_object_constructor(Eo *obj, Eio_Model_Data *priv)
653{ 653{
654 obj = eo_constructor(eo_super(obj, MY_CLASS)); 654 obj = efl_constructor(eo_super(obj, MY_CLASS));
655 unsigned int i; 655 unsigned int i;
656 priv->obj = obj; 656 priv->obj = obj;
657 priv->is_listed = priv->is_listing = EINA_FALSE; 657 priv->is_listed = priv->is_listing = EINA_FALSE;
@@ -675,7 +675,7 @@ _eio_model_path_set(Eo *obj EINA_UNUSED, Eio_Model_Data *priv, const char *path)
675} 675}
676 676
677static void 677static void
678_eio_model_eo_base_destructor(Eo *obj , Eio_Model_Data *priv) 678_eio_model_efl_object_destructor(Eo *obj , Eio_Model_Data *priv)
679{ 679{
680 Eo *child; 680 Eo *child;
681 681
@@ -690,14 +690,14 @@ _eio_model_eo_base_destructor(Eo *obj , Eio_Model_Data *priv)
690 eo_unref(child); 690 eo_unref(child);
691 691
692 eina_stringshare_del(priv->path); 692 eina_stringshare_del(priv->path);
693 eo_destructor(eo_super(obj, MY_CLASS)); 693 efl_destructor(eo_super(obj, MY_CLASS));
694} 694}
695 695
696 696
697static Eo * 697static Eo *
698_eio_model_eo_base_parent_get(Eo *obj , Eio_Model_Data *priv) 698_eio_model_efl_object_parent_get(Eo *obj , Eio_Model_Data *priv)
699{ 699{
700 Eo *model = eo_parent_get(eo_super(obj, MY_CLASS)); 700 Eo *model = efl_parent_get(eo_super(obj, MY_CLASS));
701 701
702 if (model == NULL || !eo_isa(model, EFL_MODEL_INTERFACE)) 702 if (model == NULL || !eo_isa(model, EFL_MODEL_INTERFACE))
703 { 703 {