git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@37316
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
EAPI void *ecore_evas_window_get(Ecore_Evas *ee);
- EAPI int ecore_evas_object_associate(Ecore_Evas *ee, Evas_Object *obj, Ecore_Evas_Object_Associate_Flags flags);
-EAPI int ecore_evas_object_dissociate(Ecore_Evas *ee, Evas_Object *obj);
+EAPI int ecore_evas_object_associate(Ecore_Evas *ee, Evas_Object *obj, Ecore_Evas_Object_Associate_Flags flags);
+EAPI int ecore_evas_object_dissociate(Ecore_Evas *ee, Evas_Object *obj);
+EAPI Evas_Object *ecore_evas_object_associate_get(Ecore_Evas *ee);
#ifdef __cplusplus
}
return 1;
}
+EAPI Evas_Object *
+ecore_evas_object_associate_get(Ecore_Evas *ee)
+{
+ if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
+ {
+ ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS, __FUNCTION__);
+ return NULL;
+ }
+ return _ecore_evas_associate_get(ee);
+}
+
static void
_ecore_evas_object_associate(Ecore_Evas *ee, Evas_Object *obj, Ecore_Evas_Object_Associate_Flags flags)
{