On Mon, 03 Nov 2014 19:38:05 GMT, Diez wrote:
Any other suggestions?
Well, in my case I had this problem earlier and I fix with:
In Pixbuf.d I created the following dtor:
~this(){
this.gdkPixbuf = null;
this.unref();
}
And in my program I use in this way:
if(!(pixbuf is null)){
delete pixbuf;
}
pixbuf = new Pixbuf(dr, x, y, w, h);
Note that I'm generating a new buffer from the drawable, while you are creating a new one from an Image, I don't know how this is handled internally, I need to check the code which I'll do when I get home.
Matheus.