[Glade-users] libxml and treeview - how to read in more than one entries from an xml file



On Tue, Apr 8, 2008 at 9:43 AM, Atmadarshini devi dasi
<atmadarshini_dd at yahoo.com> wrote:
Hi there

I am working with glade, gtktreeview and libxml. What i am trying to do is
that from an xml file, I am trying to put things into my treeview. My
treeview for instance has three columns such as Lastname, Firstname,
cellphone.

I dont see how this code could work, even if your parsing function
even ever returned the address it allocated, it only ever allocates one
and simply overwrites the strings each new address it parses, leaking
the old strings.

Cheers,
           -Tristan




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