Re: Fwd: Resize and place a background image (Expose Event)





Now, application crash after start, but i think that is because i make
the unref of pixbuf, and in next expose event, fails (i think)...

GdkPixbuf-CRITICAL **: gdk_pixbuf_scale_simple: assertion 'GDK_IS_PIXBUF
(src)' failed


This happens because your original "pixbuf"  is a global object, remove the
first of the three _unref and you should be fine!

-- 
*Bye,*
* Gabry*


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