On Wed, 05 Nov 2014 21:13:45 +0100, Mike Wey wrote:

In the code Posted by Diez the D object was destroyed/freed, but the c struct wasn't destroyed because the GtkImage still hed an reference to it.

So when GtkImage tried to destroy the Pixbuf when a new one was set, it would "try to" call the callback set by gtkD which failed, causing the errors.

I think we nailed the same thing. I made a post before you, and if I call Image.clear() (please see above), It doesn't show those GObject failures.

So I think Image.clear() cleans the reference you said.

Matheus.