Re: A weird problem with clists



On Tue, 29 Oct 2002 22:48:12 +0100
Thijs Assies <thijs_a gmx net> wrote:

Hi. i fixed the problem with my program. it was using the gnome applet 
wich wasn't loaded.  i commended de code out and it works.

but when i add a item to a clist everything is rigth. all the 
information in the rigth fields. But after a few minutes the item i 
added (not the ones that already existed) get strange texts( weird 
tokens and that kind of stuff).

Did you add the items using gtk_clist_append? This function takes
care of making duplicates of the strings. 

The other possibility is that somehow, elsewhere in the program,
you're overwriting the strings owned by the clist. Check the size of
all your char x[]'s

John

Is there a way to figure out what could be the causion of this problem? 
i dont have a clue how to figure out......

does someone knows? (and mybe how to fix it??)


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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