Fix wrong signature for gtk's ShowSaveDialog()

This commit is contained in:
Tan Wang Leng 2017-02-02 21:01:02 +08:00
parent 1bf8270c0d
commit b0487b7d84

View file

@ -298,6 +298,9 @@ void ShowSaveDialog(atom::NativeWindow* parent_window,
const std::string& button_label,
const base::FilePath& default_path,
const Filters& filters,
const std::string& message,
const std::string& name_field_label,
const bool& shows_tag_field,
const SaveDialogCallback& callback) {
FileChooserDialog* save_dialog = new FileChooserDialog(
GTK_FILE_CHOOSER_ACTION_SAVE, parent_window, title, button_label,