Re: Clist



>I didn't look close enough, that's exactly what you did. I just don't 
>see why you want to convert this list into an array. The list can be
>easily be iterated by itself:
>
> Glist *list;
>
> for (list = clist->selections; list; list = list->next)
				       ^^^^^^^^^^^^^^^^^
				       list = g_list_next (list);

please stick to the published API :)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]