I tracked down the failure to the fact that g_type_init() needs to be called in the test initialisation. We needed to call this before using any GObject functions.
When we're using Unity2dApplication, gtk_init is called which looks after this, so it's only the unit tests which need it.
I tracked down the failure to the fact that g_type_init() needs to be called in the test initialisation. We needed to call this before using any GObject functions.
When we're using Unity2dApplication, gtk_init is called which looks after this, so it's only the unit tests which need it.