← Back to team overview

screenlets-dev team mailing list archive

Possible bug in image functions?

 

Hi all,

Sorry if this is an old issue.

I was looking in the documentation for images when I stumbled upon this:
http://screenlets.org//Documentation/screenlets.drawing-pysrc.html#Drawing.draw_image

It seems as if it sets
    pixbuf = gtk.gdk.pixbuf_new_from_file(pix)
but the try to free it by doing
    puxbuf = None

Same seems to apply for the rest of the image functions too.

Regards
Frank Larsen