aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_data.c')
-rw-r--r--src/lib/evas/canvas/evas_data.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/evas/canvas/evas_data.c b/src/lib/evas/canvas/evas_data.c
index 38bc53741b..fe9b163221 100644
--- a/src/lib/evas/canvas/evas_data.c
+++ b/src/lib/evas/canvas/evas_data.c
@@ -8,7 +8,7 @@ evas_object_data_set(Evas_Object *obj, const char *key, const void *data)
MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
return;
MAGIC_CHECK_END();
- eo_do(obj, eo_key_data_set(key, data));
+ eo_do(obj, eo_key_data_set(obj, key, data));
}
EAPI void *
@@ -18,7 +18,7 @@ evas_object_data_get(const Evas_Object *obj, const char *key)
return NULL;
MAGIC_CHECK_END();
void *data = NULL;
- eo_do((Evas_Object *)obj, data = eo_key_data_get(key));
+ eo_do((Evas_Object *)obj, data = eo_key_data_get(obj, key));
return data;
}
@@ -29,6 +29,6 @@ evas_object_data_del(Evas_Object *obj, const char *key)
return NULL;
MAGIC_CHECK_END();
void *data = NULL;
- eo_do(obj, data = eo_key_data_get(key), eo_key_data_del(key));
+ eo_do(obj, data = eo_key_data_get(obj, key), eo_key_data_del(obj, key));
return data;
}