Re: Fwd: Resize and place a background image (Expose Event)
- From: Rúben Rodrigues <ruben_gr live com pt>
- To: Gabriele Greco <gabriele greco wyscout com>
- Cc: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: Fwd: Resize and place a background image (Expose Event)
- Date: Thu, 2 Mar 2017 10:55:10 +0000
It's the correct way do this with expose event?
À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]