From b3d750533160795cf779ba7f0e13e57117e16424 Mon Sep 17 00:00:00 2001 From: Ondrej Holy Date: Fri, 11 Feb 2022 14:28:44 +0100 Subject: Revert "files-view: Drop unused vfunc" This reverts commit bfc9d4ed4e19e9c76ab715a433a8c800a2e6423d. --- src/nautilus-files-view.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/nautilus-files-view.h b/src/nautilus-files-view.h index 32ac9937c..acd01d5d8 100644 --- a/src/nautilus-files-view.h +++ b/src/nautilus-files-view.h @@ -199,6 +199,15 @@ struct _NautilusFilesViewClass { */ gboolean (* is_empty) (NautilusFilesView *view); + /* convert *point from widget's coordinate system to a coordinate + * system used for specifying file operation positions, which is view-specific. + * + * This is used by the the icon view, which converts the screen position to a zoom + * level-independent coordinate system. + */ + void (* widget_to_file_operation_position) (NautilusFilesView *view, + GdkPoint *position); + /* Preference change callbacks, overridden by icon and list views. * Icon and list views respond by synchronizing to the new preference * values and forcing an update if appropriate. -- cgit v1.2.1