[nautilus/wip/csoriano/destktop-split2] files-view: remove unused get_icon_locations vfunc
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/csoriano/destktop-split2] files-view: remove unused get_icon_locations vfunc
- Date: Fri, 18 Mar 2016 18:12:12 +0000 (UTC)
commit cfe1deec7b9c9c1bac113236cfe60a4f4d87a5f6
Author: Carlos Soriano <csoriano gnome org>
Date: Fri Mar 18 14:13:39 2016 +0100
files-view: remove unused get_icon_locations vfunc
src/nautilus-canvas-view.c | 11 -----------
src/nautilus-files-view.h | 3 ---
2 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/nautilus-canvas-view.c b/src/nautilus-canvas-view.c
index 073ba29..59fe241 100644
--- a/src/nautilus-canvas-view.c
+++ b/src/nautilus-canvas-view.c
@@ -1185,16 +1185,6 @@ nautilus_canvas_view_compute_rename_popover_relative_to (NautilusFilesView *view
return bounding_box;
}
-static GArray *
-nautilus_canvas_view_get_selected_icon_locations (NautilusFilesView *view)
-{
- g_return_val_if_fail (NAUTILUS_IS_CANVAS_VIEW (view), NULL);
-
- return nautilus_canvas_container_get_selected_icon_locations
- (get_canvas_container (NAUTILUS_CANVAS_VIEW (view)));
-}
-
-
static void
nautilus_canvas_view_set_selection (NautilusFilesView *view, GList *selection)
{
@@ -1898,7 +1888,6 @@ nautilus_canvas_view_class_init (NautilusCanvasViewClass *klass)
nautilus_files_view_class->clear = nautilus_canvas_view_clear;
nautilus_files_view_class->end_loading = nautilus_canvas_view_end_loading;
nautilus_files_view_class->file_changed = nautilus_canvas_view_file_changed;
- nautilus_files_view_class->get_selected_icon_locations =
nautilus_canvas_view_get_selected_icon_locations;
nautilus_files_view_class->compute_rename_popover_relative_to =
nautilus_canvas_view_compute_rename_popover_relative_to;
nautilus_files_view_class->get_selection = nautilus_canvas_view_get_selection;
nautilus_files_view_class->get_selection_for_file_transfer = nautilus_canvas_view_get_selection;
diff --git a/src/nautilus-files-view.h b/src/nautilus-files-view.h
index cd7af4c..7316b4f 100644
--- a/src/nautilus-files-view.h
+++ b/src/nautilus-files-view.h
@@ -175,9 +175,6 @@ struct NautilusFilesViewClass {
void (* invert_selection) (NautilusFilesView *view);
- /* Return an array of locations of selected icons in their view. */
- GArray * (* get_selected_icon_locations) (NautilusFilesView *view);
-
/* bump_zoom_level is a function pointer that subclasses must override
* to change the zoom level of an object. */
void (* bump_zoom_level) (NautilusFilesView *view,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]