On 25-05-18 22:48, Mike Wey wrote:
On 25-05-18 20:14, Russel Winder wrote:
Has anyone got an example of using a
gtk.Dialog
(not one of the
subclasses). I have:super("Preferences", parent, GtkDialogFlags.DESTROY_WITH_PARENT, cast(string[])[], []);
in the constructor of a subclass of
gtk.Dialog
. It compiles, but on
execution in causes acore.exception.RangeError@../../../../.dub/packages/gtk-d-3.8.2/gtk-d/generated/gtkd/gtk/Dialog.d(195): Range violation
and thence a -9 exit code.
The constructor assumes the last two parameters are never null, while
that should be allowed.
And fixed in:
https://github.com/gtkd-developers/GtkD/commit/627256d9566e4c35365354d5b8b6c43869372374