On Thu, Apr 30, 2009 at 06:15:10AM -0700, Enlightenment SVN wrote :
> Log:
>   replace ecore with eina
> Author:       morlenxus
> Date:         2009-04-30 06:15:10 -0700 (Thu, 30 Apr 2009)
> New Revision: 40474

> Modified:
>   trunk/E-MODULES-EXTRA/diskio/src/e_mod_config.c 

> Modified: trunk/E-MODULES-EXTRA/diskio/src/e_mod_config.c
> ===================================================================
> --- trunk/E-MODULES-EXTRA/diskio/src/e_mod_config.c   2009-04-30 10:13:31 UTC 
> (rev 40473)
> +++ trunk/E-MODULES-EXTRA/diskio/src/e_mod_config.c   2009-04-30 13:15:10 UTC 
> (rev 40474)
> @@ -3,7 +3,7 @@

>  struct _E_Config_Dialog_Data 
>  {
> -   Ecore_List *disks;
> +   Eina_List *disks;

>     int diskpos;
>  };
> @@ -78,6 +78,7 @@
>  _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data 
> *cfdata) 
>  {
>     Config_Item *ci;
> +   Eina_List *l;
>     Evas_Object *o = NULL, *of = NULL, *ob = NULL;
>     E_Radio_Group *rg;
>     char path[128], *disk;
> @@ -93,8 +94,9 @@

>     if (cfdata->disks)
>       {
> -             while ((disk = ecore_list_next(cfdata->disks)))
> +             for (l = cfdata->disks; l; l = eina_list_next(l))
>                 {
> +                      disk = eina_list_data_get(l);
>                    pos++;

EINA_LIST_FOREACH(cfdata->disks, l, disk)
{
        ...
}

might be easier/better to use there

Regards,
-- 
Albin Tonnerre

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to