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