static Eina_Inlist *
-get_layer_objects_last(Evas_Layer *l)
+get_layer_objects(Evas_Layer *l)
{
if( !l || !l->objects ) return NULL;
- return (EINA_INLIST_GET(l->objects))->last;
+ return (EINA_INLIST_GET(l->objects));
}
/* evas internal stuff */
{
Evas_Object *obj;
- EINA_INLIST_REVERSE_FOREACH(get_layer_objects_last(lay), obj)
+ EINA_INLIST_REVERSE_FOREACH(get_layer_objects(lay), obj)
{
if (obj->delete_me) continue;
if ((!include_pass_events_objects) && (evas_event_passes_through(obj))) continue;
{
Evas_Object *obj;
- EINA_INLIST_REVERSE_FOREACH(get_layer_objects_last(lay), obj)
+ EINA_INLIST_REVERSE_FOREACH(get_layer_objects(lay), obj)
{
if (obj->delete_me) continue;
if ((!include_pass_events_objects) && (evas_event_passes_through(obj))) continue;
{
Evas_Object *obj;
- EINA_INLIST_REVERSE_FOREACH(get_layer_objects_last(lay), obj)
+ EINA_INLIST_REVERSE_FOREACH(get_layer_objects(lay), obj)
{
if (obj->delete_me) continue;
if ((!include_pass_events_objects) && (evas_event_passes_through(obj))) continue;
{
Evas_Object *obj;
- EINA_INLIST_FOREACH(get_layer_objects_last(lay), obj)
+ EINA_INLIST_REVERSE_FOREACH(get_layer_objects(lay), obj)
{
if (obj->delete_me) continue;
if ((!include_pass_events_objects) && (evas_event_passes_through(obj))) continue;