On Tuesday 21 June 2005 12:59, y g wrote:

> I had posted in the past but with no luck about segmentation faults
> that I am getting when trying to save a pixbuf into a file. With a bit
> more debugging this is the error I am getting when I try:
> gdk_pixbuf_save(pixbuf, "temp.bmp", "bmp", NULL);
>
> Program received signal SIGSEGV, Segmentation fault.
>  ...

gdk_pixbuf_save() is a vararg function. Compare your function call to the API 
reference - you're missing a NULL terminator there in the vararg part.

Cheers
 -Tim
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to