Hi Andreas,

* [12.08.08 00:29]:
>   do
>   {
>     E_Border *border;
>     clientList = evas_list_next (clientList);
>     border = clientList->data;
> [...]
> The question is why that happens. Maybe I used Evas_List in a wrong
> way. Could anyone have a short eye on this?
Yes, you do. The problem is your loop. You assign border after iterating and
without checking if clientList is not null. Use it like this:

Evas_List *l;
for (l = e_border_client_list(); l; l = l->next) {
        E_Border *border = l->data;
        /* ... */
}

Best regards,
Michael

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to