GtkTextBuffer + integers?



Hey everyone,

I am trying to output an integer to a gtktextbuffer, the widget only seems to take a gchar as data and when i try to cast the integer to a char it compiles but then segfaults when gtk_buffer_set_text() calls strlen(). Does anyone have any idea how I can get an integer value to the buffer?

thanks!

Ben LeMasurier
uidzer0.org

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




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