You should consider declaring your structure like that
typedef struct a_item{
g_char b[ MAX_G_CHAR_SIZE ];
} A_ITEM;
Use strcpy or iits equivalent to copy it. I think that's a good way to
do that because g_malloc will that allocate the right size for you.
Your code did not allocate space for the text string.
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
- C question Thames
- Re: C question Jiang XU
- Re: C question Nicolas GEORGE
- Re: C question Bruce Ide
- Re: C question Thomas Mailund
- Re: C question rlau
- Re: C question Bruce Ide
- Re: C question rlau
