On 10-01-18 19:05, Mike Wey wrote:

There is a difference between using dlopen to load the libraries at
runtime and linking with the dynamic gtk libraries at compile time.

GtkD does the first and that causes the problems with GModule and
connectSignals, the later should work correctly.

GtkD uses dlopen due to historic reasons, gir-to-d does support
generating both options and at some point we should switch the default
we use for GtkD.

I've added a generate target to the make file so you can use: make <br>generate-compiletime to regenerate GtkD so it doesn't use dlopen.