summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas_buffer.c
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2015-01-08 11:47:31 +0200
committerDaniel Zaoui <daniel.zaoui@samsung.com>2015-01-12 08:34:56 +0200
commit8002cabf359d1a7537e04b0bf4c333fd0e574419 (patch)
treed69cbf9af4e7ec5ce40ff5c0dc37e46b41086feb /src/lib/ecore_evas/ecore_evas_buffer.c
parentd95224b5a7552c8f6219e250d0b965282d4b3807 (diff)
Ecore: add EAPI to retrieve Ecore_Evas parent of a buffer.
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas_buffer.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas_buffer.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_buffer.c b/src/lib/ecore_evas/ecore_evas_buffer.c
index 01b33a0edd..fa7bab232d 100644
--- a/src/lib/ecore_evas/ecore_evas_buffer.c
+++ b/src/lib/ecore_evas/ecore_evas_buffer.c
@@ -741,6 +741,17 @@ ecore_evas_buffer_pixels_get(Ecore_Evas *ee)
741 return bdata->pixels; 741 return bdata->pixels;
742} 742}
743 743
744EAPI Ecore_Evas *
745ecore_evas_buffer_ecore_evas_parent_get(Ecore_Evas *ee)
746{
747 Ecore_Evas_Engine_Buffer_Data *bdata;
748
749 EINA_SAFETY_ON_NULL_RETURN_VAL(ee, NULL);
750
751 bdata = ee->engine.data;
752 return evas_object_data_get(bdata->image, "Ecore_Evas_Parent");
753}
754
744EAPI Evas_Object * 755EAPI Evas_Object *
745ecore_evas_object_image_new(Ecore_Evas *ee_target) 756ecore_evas_object_image_new(Ecore_Evas *ee_target)
746{ 757{