After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 570740 - don't use deprecated gdk_pixbuf_unref
don't use deprecated gdk_pixbuf_unref
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: general
git master
Other Linux
: Normal trivial
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-02-06 01:56 UTC by Thomas Andersen
Modified: 2009-02-17 00:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
use g_object_unref rather than gdk_pixbuf_unref (2.64 KB, patch)
2009-02-06 01:59 UTC, Thomas Andersen
committed Details | Review

Description Thomas Andersen 2009-02-06 01:56:38 UTC
gdk_pixbuf_unref is deprecated. Patch instead uses g_object_unref as described:
http://library.gnome.org/devel/gdk-pixbuf/stable/gdk-pixbuf-refcounting.html#gdk-pixbuf-unref

Fixes build warnings with -DGDK_PIXBUF_DISABLE_DEPRECATED
Comment 1 Thomas Andersen 2009-02-06 01:59:16 UTC
Created attachment 128066 [details] [review]
use g_object_unref rather than gdk_pixbuf_unref
Comment 2 Callum McKenzie 2009-02-17 00:21:39 UTC
Patch applied, thanks.