On Fri, 31 Oct 2014 21:25:56 GMT, MatheusBN wrote:

Both ways works great, but the problem is the memory which doesn't stop to increase.

Just a note: I was able to minimize the problem using this code:

if(!(pixbuf is null)){
    pixbuf.unref();
    delete pixbuf;
}

pixbuf = new Pixbuf(dr, x, y, w, h);


PS: Which I've found here: dsource

Matheus.