On Tue, 04 Nov 2014 05:02:12 GMT, Diez wrote:

I get the following output:

MyPixbuf
~MyPixbuf
MyPixbuf
~MyPixbuf
(dvgtkd:21102): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
...

Well I did the same as you (I put messages in Pixbuf's ctor and dtor) and I just get one of each at time. You're getting twice.

But I'd to say that I'm currently using it on Windows and the gtkD is from 2012 (I don't remember the version and I'm not at home right now).

Just other thing:

In your cbtime() function, can you comment this line:

this.image.setFromPixbuf(this.pixbuf);

And see if you still getting the errors above or having the memory leaks?

Matheus.