[nautilus/wip/ernestask/gtk4-continued: 16/50] files-view: Remove unused signal



commit 19f956fde0a3e8e96772fb4b5f0817d0e13904ea
Author: Ernestas Kulik <ernestask gnome org>
Date:   Mon Jul 30 13:09:12 2018 +0300

    files-view: Remove unused signal

 src/nautilus-files-view.c | 11 -----------
 src/nautilus-files-view.h |  7 -------
 2 files changed, 18 deletions(-)
---
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
index 304c8194f..59020a8ab 100644
--- a/src/nautilus-files-view.c
+++ b/src/nautilus-files-view.c
@@ -121,7 +121,6 @@
 enum
 {
     ADD_FILES,
-    BEGIN_FILE_CHANGES,
     BEGIN_LOADING,
     CLEAR,
     END_FILE_CHANGES,
@@ -4165,8 +4164,6 @@ process_old_files (NautilusFilesView *view)
     {
         gboolean send_selection_change = FALSE;
 
-        g_signal_emit (view, signals[BEGIN_FILE_CHANGES], 0);
-
         for (GList *node = files_added; node != NULL; node = node->next)
         {
             pending = node->data;
@@ -9258,14 +9255,6 @@ nautilus_files_view_class_init (NautilusFilesViewClass *klass)
                       NULL, NULL,
                       g_cclosure_marshal_generic,
                       G_TYPE_NONE, 1, G_TYPE_POINTER);
-    signals[BEGIN_FILE_CHANGES] =
-        g_signal_new ("begin-file-changes",
-                      G_TYPE_FROM_CLASS (klass),
-                      G_SIGNAL_RUN_LAST,
-                      G_STRUCT_OFFSET (NautilusFilesViewClass, begin_file_changes),
-                      NULL, NULL,
-                      g_cclosure_marshal_VOID__VOID,
-                      G_TYPE_NONE, 0);
     signals[BEGIN_LOADING] =
         g_signal_new ("begin-loading",
                       G_TYPE_FROM_CLASS (klass),
diff --git a/src/nautilus-files-view.h b/src/nautilus-files-view.h
index 21440d42d..d0af2ce78 100644
--- a/src/nautilus-files-view.h
+++ b/src/nautilus-files-view.h
@@ -48,13 +48,6 @@ struct _NautilusFilesViewClass {
          */
         void         (* clear)                  (NautilusFilesView *view);
 
-        /* The 'begin_file_changes' signal is emitted before a set of files
-         * are added to the view. It can be replaced by a subclass to do any
-         * necessary preparation for a set of new files. The default
-         * implementation does nothing.
-         */
-        void         (* begin_file_changes)     (NautilusFilesView *view);
-
         /* The 'add_files' signal is emitted to add a set of files to the view.
          * It must be replaced by each subclass.
          */


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