[gtk+/filesystemmodel] remove unused error argument from show_and_select_files()
- From: Benjamin Otte <otte src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/filesystemmodel] remove unused error argument from show_and_select_files()
- Date: Thu, 25 Jun 2009 13:52:13 +0000 (UTC)
commit b7c77d417a5e75b5e90c9f9445d5f018c2f9677b
Author: Benjamin Otte <otte gnome org>
Date: Thu Jun 25 15:05:27 2009 +0200
remove unused error argument from show_and_select_files()
gtk/gtkfilechooserdefault.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 63bf313..7d8da72 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -6369,8 +6369,7 @@ out:
static gboolean
show_and_select_files (GtkFileChooserDefault *impl,
GFile *parent_file,
- GSList *files,
- GError **error)
+ GSList *files)
{
struct ShowAndSelectPathsData *info;
@@ -6408,8 +6407,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);
}
@@ -7315,7 +7313,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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]