[nautilus/antoniof/a_fad_is_not_a_trend: 1/5] files-view: Drop unused CopyCallbackData members



commit 55b04ceffa115ba635ec207a8fc3d727a5d78c18
Author: António Fernandes <antoniof gnome org>
Date:   Fri Jun 15 20:17:48 2018 +0100

    files-view: Drop unused CopyCallbackData members
    
    They were introduced by commit 338091bd0f28345b822c1d55055673d5ff963bc4
    for a feature removed by 369a289a0fcf9a849c90737066386dca801d5bcd

 src/nautilus-files-view.c | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
index 64e11e2a9..155821ef1 100644
--- a/src/nautilus-files-view.c
+++ b/src/nautilus-files-view.c
@@ -5801,8 +5801,6 @@ action_open_scripts_folder (GSimpleAction *action,
 typedef struct _CopyCallbackData
 {
     NautilusFilesView *view;
-    GtkFileChooser *chooser;
-    GHashTable *locations;
     GList *selection;
     gboolean is_move;
 } CopyCallbackData;
@@ -5811,7 +5809,6 @@ static void
 copy_data_free (CopyCallbackData *data)
 {
     nautilus_file_list_free (data->selection);
-    g_hash_table_destroy (data->locations);
     g_free (data);
 }
 
@@ -5966,8 +5963,6 @@ copy_or_move_selection (NautilusFilesView *view,
     copy_data->view = view;
     copy_data->selection = selection;
     copy_data->is_move = is_move;
-    copy_data->chooser = GTK_FILE_CHOOSER (dialog);
-    copy_data->locations = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
 
     if (selection != NULL)
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]