glist manipulation and reference count

2009-05-14 Thread walty
hi, I am new to GTK and is currently studying the memory management of GTK. The reference count issue has been nicely described in http://www.gtkforums.com/about2412.html However, one thing that surprised me is that, when I do g_list_append or g_list_prepend, it does not automatically add the

Re: glist manipulation and reference count

2009-05-14 Thread walty
Thanks again. walty Brian J. Tarricone wrote: [Note that your question is probably more appropriate for gtk-app-devel-list or gtk-list; this list is for the development *of* glib/gtk itself, not about developing apps that *use* glib/gtk.] On 05/14/2009 08:47 PM, walty wrote