[nautilus/wip/csoriano/destktop-split2] files-view: remove unused can_rename_file vfunc



commit 83eef75cc1650b352b650959d8772ffc6a83d115
Author: Carlos Soriano <csoriano gnome org>
Date:   Fri Mar 18 14:00:10 2016 +0100

    files-view: remove unused can_rename_file vfunc

 src/nautilus-canvas-view.c |    7 -------
 src/nautilus-files-view.h  |    3 ---
 2 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/nautilus-canvas-view.c b/src/nautilus-canvas-view.c
index 7dc7dca..073ba29 100644
--- a/src/nautilus-canvas-view.c
+++ b/src/nautilus-canvas-view.c
@@ -1000,12 +1000,6 @@ layout_changed_callback (NautilusCanvasContainer *container,
        }
 }
 
-static gboolean
-nautilus_canvas_view_can_rename_file (NautilusFilesView *view, NautilusFile *file)
-{
-       return NAUTILUS_FILES_VIEW_CLASS(nautilus_canvas_view_parent_class)->can_rename_file (view, file);
-}
-
 const GActionEntry canvas_view_entries[] = {
        { "keep-aligned", NULL, NULL, "true", action_keep_aligned },
        { "reversed-order", NULL, NULL, "false", action_reversed_order },
@@ -1899,7 +1893,6 @@ nautilus_canvas_view_class_init (NautilusCanvasViewClass *klass)
        nautilus_files_view_class->add_file = nautilus_canvas_view_add_file;
        nautilus_files_view_class->begin_loading = nautilus_canvas_view_begin_loading;
        nautilus_files_view_class->bump_zoom_level = nautilus_canvas_view_bump_zoom_level;
-       nautilus_files_view_class->can_rename_file = nautilus_canvas_view_can_rename_file;
        nautilus_files_view_class->can_zoom_in = nautilus_canvas_view_can_zoom_in;
        nautilus_files_view_class->can_zoom_out = nautilus_canvas_view_can_zoom_out;
        nautilus_files_view_class->clear = nautilus_canvas_view_clear;
diff --git a/src/nautilus-files-view.h b/src/nautilus-files-view.h
index 645ead4..e16fb41 100644
--- a/src/nautilus-files-view.h
+++ b/src/nautilus-files-view.h
@@ -239,9 +239,6 @@ struct NautilusFilesViewClass {
          */
         gboolean (* is_empty)                (NautilusFilesView *view);
 
-        gboolean (* can_rename_file)         (NautilusFilesView *view,
-                                              NautilusFile      *file);
-
         /* convert *point from widget's coordinate system to a coordinate
          * system used for specifying file operation positions, which is view-specific.
          *


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