Bizarre compile error in GtkD

Evan Davis via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jun 30 12:37:00 PDT 2014


On Monday, 30 June 2014 at 18:42:17 UTC, Mike Wey wrote:
> On 06/30/2014 01:32 PM, Chris wrote:
>> Dunno if it's the ResponseType vs GtkResponseType
>
> ResponseType is an alias for GtkReponseType, so that isn't the 
> problem.
>
> getParentWindow() returns an gdk.Window.Window while the 
> FileChooserDialog constructor expects an gtk.Window.Window.
>

Gotcha. I completely forgot to check that because the compiler 
wasn't disambiguating. Thanks for the reply, worked like a charm.

-Evan Davis


More information about the Digitalmars-d-learn mailing list