[nautilus/wip/gaction_reordered: 3/17] nautilus-view: Drop unused parameter
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/gaction_reordered: 3/17] nautilus-view: Drop unused parameter
- Date: Mon, 5 Jan 2015 17:14:13 +0000 (UTC)
commit fe4d165e3d69407aee87fa07df35ef74851e814a
Author: Carlos Soriano <carlos sorian89 gmail com>
Date: Mon Jan 5 16:36:59 2015 +0100
nautilus-view: Drop unused parameter
src/nautilus-view.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/nautilus-view.c b/src/nautilus-view.c
index a48f9d5..fd203e2 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -274,7 +274,6 @@ static void nautilus_view_create_links_for_files (NautilusView
GArray *item_locations);
static void trash_or_delete_files (GtkWindow *parent_window,
const GList *files,
- gboolean
delete_if_all_already_in_trash,
NautilusView *view);
static void load_directory (NautilusView *view,
NautilusDirectory *directory);
@@ -1276,7 +1275,7 @@ trash_or_delete_selected_files (NautilusView *view)
if (!view->details->selection_was_removed) {
selection = nautilus_view_get_selection_for_file_transfer (view);
trash_or_delete_files (nautilus_view_get_containing_window (view),
- selection, TRUE,
+ selection,
view);
nautilus_file_list_free (selection);
view->details->selection_was_removed = TRUE;
@@ -4095,7 +4094,6 @@ trash_or_delete_done_cb (GHashTable *debuting_uris,
static void
trash_or_delete_files (GtkWindow *parent_window,
const GList *files,
- gboolean delete_if_all_already_in_trash,
NautilusView *view)
{
GList *locations;
@@ -7011,7 +7009,7 @@ action_location_trash_callback (GtkAction *action,
files = g_list_append (NULL, file);
trash_or_delete_files (nautilus_view_get_containing_window (view),
- files, TRUE,
+ files,
view);
g_list_free (files);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]