Re: Bizarre compile error in GtkD

2014-06-30 Thread Chris via Digitalmars-d-learn
On Sunday, 29 June 2014 at 20:28:23 UTC, Evan Davis wrote: Hello, I have a compile error when trying to use GtkD 2.3.3. When I try to create a FileChooseDialog, I call new FileChooserDialog(Save File, editor.drawingArea.getParent().getParentWindow(),

Re: Bizarre compile error in GtkD

2014-06-30 Thread Mike Wey via Digitalmars-d-learn
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. you probably

Re: Bizarre compile error in GtkD

2014-06-30 Thread Jacob Carlborg via Digitalmars-d-learn
On 2014-06-29 22:28, Evan Davis wrote: I have no idea how this error exists. Can anyone help me fix it? Perhaps some mismatch between mutable/const/immutable? -- /Jacob Carlborg

Re: Bizarre compile error in GtkD

2014-06-30 Thread Evan Davis via Digitalmars-d-learn
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

Bizarre compile error in GtkD

2014-06-29 Thread Evan Davis via Digitalmars-d-learn
Hello, I have a compile error when trying to use GtkD 2.3.3. When I try to create a FileChooseDialog, I call new FileChooserDialog(Save File, editor.drawingArea.getParent().getParentWindow(), FileChooserAction.SAVE, [OK,