Hi folks,
I'm having some problems with a GSList and I don't know why. I can't find
any examples of g_slist_foreach now either!
Anyway, it goes like this...
g_slist_foreach(wl->signals, remove_signal, wl);
Where wl->signals is a GSList and wl is a structure containing a few other
things I ne
rhfreeman <[EMAIL PROTECTED]> writes:
>
> Anyway, it goes like this...
>
> g_slist_foreach(wl->signals, remove_signal, wl);
You can't currently remove list nodes inside a foreach. In GLib 2.0,
this works though.
The function changed as follows:
1.2:
void
g_slist_foreach (GSList *list,