diff options
author | Ondrej Holy <oholy@redhat.com> | 2022-02-11 14:28:44 +0100 |
---|---|---|
committer | António Fernandes <antoniof@gnome.org> | 2022-02-11 19:24:09 +0000 |
commit | b3d750533160795cf779ba7f0e13e57117e16424 (patch) | |
tree | d002d9c67cb47528d3bcc2972b61a9a9da41eb47 | |
parent | 1ea02b310d36c9eb9f71cbc46307595646672bdd (diff) | |
download | nautilus-b3d750533160795cf779ba7f0e13e57117e16424.tar.gz |
Revert "files-view: Drop unused vfunc"
This reverts commit bfc9d4ed4e19e9c76ab715a433a8c800a2e6423d.
-rw-r--r-- | src/nautilus-files-view.h | 9 |
1 files changed, 9 insertions, 0 deletions
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. |