Browse Source

Fix wrong signature for gtk's ShowSaveDialog()

Tan Wang Leng 8 years ago
parent
commit
b0487b7d84
1 changed files with 3 additions and 0 deletions
  1. 3 0
      atom/browser/ui/file_dialog_gtk.cc

+ 3 - 0
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,