Subject: | Documentation fix for Gtk3::FileChooserDialog::new |
Date: | Thu, 19 May 2016 18:44:16 -0500 |
To: | bug-Gtk3 [...] rt.cpan.org |
From: | Zakariyya Mughal <zaki.mughal [...] gmail.com> |
The warning given in the Perl implementation of
Gtk3::FileChooserDialog::new seems to have a typo:
At line 1084 <https://git.gnome.org/browse/perl-Gtk3/tree/lib/Gtk3.pm?id=v0.026#n1084>, we have:
croak 'Usage: Gtk3::FileChooserDialog->new' .
' (title, parent, action, backend, button-text =>' .
" response-id, ...)\n";
The documentation for the method <https://developer.gnome.org/gtk3/stable/GtkFileChooserDialog.html#gtk-file-chooser-dialog-new> is
GtkWidget *
gtk_file_chooser_dialog_new (const gchar *title,
GtkWindow *parent,
GtkFileChooserAction action,
const gchar *first_button_text,
...);
meaning that the `backend` argument mentioned is extraneous and should
be removed.
Cheers,
- Zaki Mughal