summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2009-06-25 15:05:27 +0200
committerBenjamin Otte <otte@gnome.org>2009-10-15 22:01:40 +0200
commit6bdaaea3a4cd6bae0a3ea5c98d6098e44a29a1b8 (patch)
treec978c7e12744b3155f89f644ad05bfb2f9d35f62 /gtk
parent682a3c8c75e9b327fa7013be6afd251dc2dbdbc7 (diff)
downloadgtk+-6bdaaea3a4cd6bae0a3ea5c98d6098e44a29a1b8.tar.gz
Remove unused error argument from show_and_select_files()
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkfilechooserdefault.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 778a15d337..1c7d93c218 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -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;
}