aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_comp_object.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-10-06 11:37:50 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-10-03 12:39:03 -0400
commit2d2ad135375642e273d20fd6cc7d9777b95967b8 (patch)
tree107e1edfde96b3fb1b687198a10afdb14e6d72fa /src/bin/e_comp_object.c
parentdefer wl startup apps until after xwayland init completes (diff)
downloadenlightenment-2d2ad135375642e273d20fd6cc7d9777b95967b8.tar.gz
add comp object function to get the content of a util_add object
Diffstat (limited to 'src/bin/e_comp_object.c')
-rw-r--r--src/bin/e_comp_object.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 3aa176b8f..79fb66ba8 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -3045,6 +3045,17 @@ e_comp_object_util_add(Evas_Object *obj, E_Comp_Object_Type type)
return o;
}
+E_API Evas_Object *
+e_comp_object_util_get(Evas_Object *obj)
+{
+ Evas_Object *z;
+ SOFT_ENTRY(NULL);
+ if (cw) return NULL;
+ z = edje_object_part_swallow_get(obj, "e.swallow.content");
+ EINA_SAFETY_ON_NULL_RETURN_VAL(z, NULL);
+ return e_zoomap_child_get(z);
+}
+
/* utility functions for deleting objects when their "owner" is deleted */
E_API void
e_comp_object_util_del_list_append(Evas_Object *obj, Evas_Object *to_del)