Re: gtk label segmentation fault

2005-08-08 Thread Iago Rubio
On Sun, 2005-08-07 at 21:18 -0700, Yogesh M wrote: > i used gtk gtk_label_new( const char *str ) to create > a new label[why it needs a const char?] > > below is a part of my code WoW ! What about "The C programming language" book ? It seems you need it badly :) > > const ch; No type. > const

Re: gtk label segmentation fault

2005-08-08 Thread Stefan Kost
Hi Yogesh, please understand the C language a bit better! i used gtk gtk_label_new( const char *str ) to create a new label[why it needs a const char?] because it tells you that it wont mess with the char-pointer contents you pass to the function. below is a part of my code const ch; const