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 want to use:
cast(gtk.Window.Window)(editor.drawingArea.getToplevel())
if you don't have access to the variable holding your main window.

--
Mike Wey

Reply via email to