summaryrefslogtreecommitdiff
path: root/src/tests/eo/composite_objects
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-04-02 11:42:00 +0100
committerTom Hacohen <tom@stosb.com>2014-04-10 04:20:21 +0100
commit374af9b9cad96e499cfd9d3de99b30d2096d8cab (patch)
treec989a4dff16d1e7900030e1a1103afa406edb0a0 /src/tests/eo/composite_objects
parent1866909ba1084d1b2cbcd324c9c8a81ab80405f0 (diff)
Eo: eo_base's data_*->key_data_*.
Diffstat (limited to 'src/tests/eo/composite_objects')
-rw-r--r--src/tests/eo/composite_objects/composite_objects_comp.c2
-rw-r--r--src/tests/eo/composite_objects/composite_objects_main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eo/composite_objects/composite_objects_comp.c b/src/tests/eo/composite_objects/composite_objects_comp.c
index c711ffe28f..8d4756be5b 100644
--- a/src/tests/eo/composite_objects/composite_objects_comp.c
+++ b/src/tests/eo/composite_objects/composite_objects_comp.c
@@ -31,7 +31,7 @@ _constructor(Eo *obj, void *class_data EINA_UNUSED)
31 fail_if(eo_composite_is(obj)); 31 fail_if(eo_composite_is(obj));
32 fail_if(!eo_composite_is(simple)); 32 fail_if(!eo_composite_is(simple));
33 33
34 eo_do(obj, eo_base_data_set("simple-obj", simple, NULL)); 34 eo_do(obj, eo_key_data_set("simple-obj", simple, NULL));
35 35
36 eo_unref(simple); 36 eo_unref(simple);
37} 37}
diff --git a/src/tests/eo/composite_objects/composite_objects_main.c b/src/tests/eo/composite_objects/composite_objects_main.c
index ecf5983cb0..9c3d95c426 100644
--- a/src/tests/eo/composite_objects/composite_objects_main.c
+++ b/src/tests/eo/composite_objects/composite_objects_main.c
@@ -45,7 +45,7 @@ main(int argc, char *argv[])
45 45
46 /* disable the callback forwarder, and fail if it's still called. */ 46 /* disable the callback forwarder, and fail if it's still called. */
47 Eo *simple = NULL; 47 Eo *simple = NULL;
48 eo_do(obj, simple = eo_base_data_get("simple-obj")); 48 eo_do(obj, simple = eo_key_data_get("simple-obj"));
49 eo_ref(simple); 49 eo_ref(simple);
50 eo_do(simple, eo_event_callback_forwarder_del(EV_A_CHANGED, obj)); 50 eo_do(simple, eo_event_callback_forwarder_del(EV_A_CHANGED, obj));
51 51