Re: need help with passing a GSList of GtkWidget's as a gpointer



On Wed, Apr 18, 2001 at 06:50:07PM +0200, Sven Neumann wrote:
> Helmethead <hoshem mel comcen com au> writes:
> 
> > Only hint I can think of is set button_list to null before appending to it. and appending is inefficient btw u might consider prepending or using a GList :) but either way set it to NULL first.
> 
> Appending to a GList is as inefficient as appending to a GSList. If you need
> the items in that particular order, consider prepending and reversing the
> list when done.

oops :)
say, what about a circular list? I'm sure it's been considered before but I haven't seen anything on it




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