Re: 2.5 crashing in gdk_pixbuf_new_from_file()



The fix is obvious: Instead of using '\000' in the pattern, use 'z' in
the mask. See
http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/gdk-pixbuf-Module-Interface.html#GdkPixbufModulePattern

Maybe the docs need an example...

Matthias




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