X server crashes after loading xpm



Hi,
I can't create any pixmap from xpm.
 
"gdk_pixmap_create_from_xpm" and "gdk_pixmap_create_from_xpm_d"  make my server crash.
 
The examples "wheelbarrow" and "colorsel" from GTK tutorial (chapter 9) don't work with my machine.
 
 Anyway, is there a way to read/write bytes of information directly to a pixmap?
(I don't know how to use the "user_data" pointer from the "pixmap" structure)
 
Thanks.


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