git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@63888
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
EAPI Evas_Object *
ecore_evas_ews_background_get(void)
{
+#ifdef BUILD_ECORE_EVAS_EWS
return _ews_bg;
+#else
+ return NULL;
+#endif
}
+#ifdef BUILD_ECORE_EVAS_EWS
static void
_ecore_evas_ews_background_free(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *o __UNUSED__, void *event_info __UNUSED__)
{
_ews_bg = NULL;
ecore_evas_ews_background_set(NULL);
}
+#endif
EAPI void
ecore_evas_ews_background_set(Evas_Object *o)
{
+#ifdef BUILD_ECORE_EVAS_EWS
if ((o) && (o == _ews_bg)) return;
if (_ews_bg)
}
_ews_bg = o;
+#else
+ return;
+ (void)o;
+#endif
}