Ah! Makes sense.. A leftover from copying that function from default_associate_handler_file() (which does use the FILE_CHOOSER).
Patrick On Sun, Nov 24, 2013 at 11:49 AM, John Ralls <[email protected]> wrote: > > On Nov 24, 2013, at 6:26 AM, Patrick <[email protected]> wrote: >> In any case, the gtk dialog call in >> default_associate_handler_location() was changed to >> gtk_file_chooser_dialog_new() >> from my best guess of gtk_dialog_new_with_buttons(). This change >> added a file chooser to the URI dialog, which appears superfluous. > > Yes, because you were trying to pass GTK_FILE_CHOOSER_ACTION_OPEN to > gtk_dialog_new_with_buttons, which raised a mismatched enum type from Clang. > I guessed that you got the function wrong rather than the enum; wrong guess, > I guess. I'll fix it the other way. > > Regards, > John Ralls > _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
