GdkPixbufLoader not closed properly if loading an icon from the embedded resources fails

Bug #987396 reported by Cameron White
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cameron White

Bug Description

If Gdk.Pixbuf.LoadFromResource throws an exception due to an invalid resource name, the following warning later shows up in the console:

(Pinta:12861): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference.

This occurs if an icon is missing from both the default theme and Pinta's embedded resources.

Revision history for this message
Cameron White (cameronwhite91) wrote :

This started occurring after the fix for bug #879043. In that fix, we caught the exceptions and provided a fallback icon, whereas Pinta would previously just crash.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers