Skip to content

Commit

Permalink
Remove doc comment for FileChooserDialog::with_buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
demurgos committed Dec 3, 2017
1 parent 6f5f1dc commit 9238567
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/file_chooser_dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@ impl FileChooserDialog {
}
}

/// This function creates a `FileChooserDialog` with buttons:
/// ```
/// let dialog = FileChooserDialog::with_buttons::<ApplicationWindow>(
/// Option::Some("Open File"),
/// Option::None,
/// FileChooserAction::Open,
/// &[("_Cancel", ResponseType::Cancel), ("_Open", ResponseType::Accept)]
/// );
/// ```
pub fn with_buttons<T: IsA<Window>>(title: Option<&str>, parent: Option<&T>, action: FileChooserAction, buttons: &[(&str, ResponseType)]) -> FileChooserDialog {
assert_initialized_main_thread!();
unsafe {
Expand Down

0 comments on commit 9238567

Please sign in to comment.