On Sat, 16 Jan 2016 14:56:56 GMT, Gerald Nunn wrote:

On Sat, 16 Jan 2016 14:28:10 +0100, Mike Wey wrote:

On 01/15/2016 11:46 AM, Gerald Nunn wrote:

Mike I also have the issue with the StyleContext getColor and getBackgroundColor. This issue though looks fairly pervasive in GtkD though as anywhere there is an out parameter with a class it follows the pattern of creating the struct first and then the class. I assume though that is all done by the code generator so it just needs to be fixed once and the code re-generated?

I've switched it to using g_malloc0 for the out parameters.

https://github.com/gtkd-developers/GtkD/commit/18bf92c4f3b5e4b081b45d956930366d3d64f776

Thanks for the very quick turn around on this, I build my app against the version in git and I can no longer reproduce the issue.

Any plans to roll out a new GtkD package for Dub with this fix, say a 3.2.2?