On Fri, Dec 12, 2008 at 1:36 PM, Enlightenment SVN
<no-re...@enlightenment.org> wrote:
> Log:
>  Works on Doxy: add sample code for theme_group
> Author:       mcalamelli
> Date:         2008-12-12 07:36:22 -0800 (Fri, 12 Dec 2008)
> New Revision: 38115
>
> Modified:
>  trunk/PROTO/exchange/src/lib/exchange_theme_group.c 
> trunk/PROTO/exchange/src/lib/exchange_theme_group.h
>
> Modified: trunk/PROTO/exchange/src/lib/exchange_theme_group.c
> ===================================================================
> --- trunk/PROTO/exchange/src/lib/exchange_theme_group.c 2008-12-12 11:28:50 
> UTC (rev 38114)
> +++ trunk/PROTO/exchange/src/lib/exchange_theme_group.c 2008-12-12 15:36:22 
> UTC (rev 38115)
> @@ -55,6 +55,23 @@
>  *
>  * Function for theme_groups.
>  *
> + * Sample code
> + *
> + * @code
> + * Eina_List *l, *l1;
> + * l = exchange_theme_group_list_available();
> + * printf("Available theme_groups (%d):\n", eina_list_count(l));
> + * for (l1 = l; l1; l1 = eina_list_next(l1))
> + * {
> + *   if (l1->data)
> + *   {
> + *     Theme_Group_Data *tgd;

Please consider using EINA_LIST_FOREACH(l, l1, tgd) { ... }

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to