Re: gdk_pixbuf_save crash saving JPEG when linking against gtkmozembed libraries

2007-01-14 Thread Mr antback
Fixed! When linking against gtk+-2.0 only, is not needed -ljpeg, but when linking against 'gtk+-2.0 xulrunner-gtkmozembed ' is needed -ljpeg. I don't know why. This is very strange. Is this the expected behaviour? Regards. On 1/12/07, Andreas Stricker <[EMAIL PROTECTED]> wrote: > > > INC=`pk

Re: gdk_pixbuf_save crash saving JPEG when linking against gtkmozembed libraries

2007-01-12 Thread Andreas Stricker
> INC=`pkg-config gtk+-2.0 --cflags` > #LIB=`pkg-config gtk+-2.0 --libs` > <-- works!! > LIB=`pkg-config gtk+-2.0 xulrunner-gtkmozembed --libs` <-- crash > all: > gcc -g -Wall example.c $(INC) $(LIB) -o sample > > When linking without xulrunner-gtkmozembed works fine,

gdk_pixbuf_save crash saving JPEG when linking against gtkmozembed libraries

2007-01-12 Thread Mr antback
Hi all, I'm developing an application that embeds gecko, but crash on the function gtk_save_pixbuf. Only crash when linking with the gecko libraries and when saving JPEG. PNG's works. I have isolated the problem. This is the code: sample.c: #include int main(int argc, char *argv[])