newbie: Gint to string ?




Hi i am a newbie in GTK...


I want to do something like this :

gint new_val;

gtk_label_set_text(GTK_LABEL(label),new_val);


I get this :

k8000_check_005.c:58: warning: passing arg 2 of `gtk_label_set_text'
makes pointer from integer without a cast  


How can i make a string from a gint ???

I can not find it in the docs file's or examples...

-- 
My webserver http://hihihi.penguinpowered.com
My home page at my provider http://www.casema.net/~hihihi



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