[nautilus/wip/ernestask/tasks: 1/2] directory: declutter



commit 39af9d1ee31115b540211d82773032b7a6f14267
Author: Ernestas Kulik <ernestask gnome org>
Date:   Sat Jul 8 17:10:11 2017 +0300

    directory: declutter

 src/nautilus-directory-async.c   |    2 +-
 src/nautilus-directory-private.h |    3 ---
 2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/nautilus-directory-async.c b/src/nautilus-directory-async.c
index 05e138a..31441a8 100644
--- a/src/nautilus-directory-async.c
+++ b/src/nautilus-directory-async.c
@@ -1088,7 +1088,7 @@ drain:
     return FALSE;
 }
 
-void
+static void
 nautilus_directory_schedule_dequeue_pending (NautilusDirectory *directory)
 {
     if (directory->details->dequeue_pending_idle_id == 0)
diff --git a/src/nautilus-directory-private.h b/src/nautilus-directory-private.h
index dae1b96..755ef9a 100644
--- a/src/nautilus-directory-private.h
+++ b/src/nautilus-directory-private.h
@@ -125,8 +125,6 @@ struct NautilusDirectoryDetails
        FilesystemInfoState *filesystem_info_state;
        
        LinkInfoReadState *link_info_read_state;
-
-       GList *file_operations_in_progress; /* list of FileOperation * */
 };
 
 NautilusDirectory *nautilus_directory_get_existing                    (GFile                     *location);
@@ -168,7 +166,6 @@ gboolean           nautilus_directory_has_active_request_for_file     (NautilusD
                                                                       NautilusFile              *file);
 void               nautilus_directory_remove_file_monitor_link        (NautilusDirectory         *directory,
                                                                       GList                     *link);
-void               nautilus_directory_schedule_dequeue_pending        (NautilusDirectory         *directory);
 void               nautilus_directory_stop_monitoring_file_list       (NautilusDirectory         *directory);
 void               nautilus_directory_cancel                          (NautilusDirectory         *directory);
 void               nautilus_async_destroying_file                     (NautilusFile              *file);


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