From b0487b7d8431bf38d351f38f940bf9d468bc8423 Mon Sep 17 00:00:00 2001 From: Tan Wang Leng Date: Thu, 2 Feb 2017 21:01:02 +0800 Subject: [PATCH] Fix wrong signature for gtk's ShowSaveDialog() --- atom/browser/ui/file_dialog_gtk.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/atom/browser/ui/file_dialog_gtk.cc b/atom/browser/ui/file_dialog_gtk.cc index db79ceb171..54e32cdf7d 100644 --- a/atom/browser/ui/file_dialog_gtk.cc +++ b/atom/browser/ui/file_dialog_gtk.cc @@ -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,