mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-10-02 12:07:29 +00:00
Remove unused error argument from show_and_select_files()
This commit is contained in:
parent
682a3c8c75
commit
6bdaaea3a4
@ -6478,8 +6478,7 @@ out:
|
||||
static gboolean
|
||||
show_and_select_files (GtkFileChooserDefault *impl,
|
||||
GFile *parent_file,
|
||||
GSList *files,
|
||||
GError **error)
|
||||
GSList *files)
|
||||
{
|
||||
struct ShowAndSelectPathsData *info;
|
||||
|
||||
@ -6517,8 +6516,7 @@ pending_select_files_process (GtkFileChooserDefault *impl)
|
||||
|
||||
if (impl->pending_select_files)
|
||||
{
|
||||
/* NULL GError */
|
||||
show_and_select_files (impl, impl->current_folder, impl->pending_select_files, NULL);
|
||||
show_and_select_files (impl, impl->current_folder, impl->pending_select_files);
|
||||
pending_select_files_free (impl);
|
||||
browse_files_center_selected_row (impl);
|
||||
}
|
||||
@ -7431,7 +7429,7 @@ gtk_file_chooser_default_select_file (GtkFileChooser *chooser,
|
||||
files.data = (gpointer) file;
|
||||
files.next = NULL;
|
||||
|
||||
result = show_and_select_files (impl, parent_file, &files, error);
|
||||
result = show_and_select_files (impl, parent_file, &files);
|
||||
g_object_unref (parent_file);
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user