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



Hi,

Still crash after a while.. but needs more time..

What could be?
Thanks
Às 10:41 de 02/03/2017, Gabriele Greco escreveu:

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


[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
      Sem vírus. 
www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>


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