[nautilus/wip/hadess/fixes: 2/2] files-view: Remove unused function
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/hadess/fixes: 2/2] files-view: Remove unused function
- Date: Wed, 11 May 2022 08:33:02 +0000 (UTC)
commit 8086d1d4023730081e25504f658f383030594311
Author: Bastien Nocera <hadess hadess net>
Date: Wed May 11 10:31:58 2022 +0200
files-view: Remove unused function
nautilus/src/nautilus-files-view.c:997:1: warning: ‘nautilus_files_view_get_zoom_level_percentage’
defined but not used [-Wunused-function]
997 | nautilus_files_view_get_zoom_level_percentage (NautilusFilesView *view)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/nautilus-files-view.c | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
index 1d491c2e4..a6ee30d32 100644
--- a/src/nautilus-files-view.c
+++ b/src/nautilus-files-view.c
@@ -993,14 +993,6 @@ nautilus_files_view_restore_standard_zoom_level (NautilusFilesView *view)
NAUTILUS_FILES_VIEW_CLASS (G_OBJECT_GET_CLASS (view))->restore_standard_zoom_level (view);
}
-static gfloat
-nautilus_files_view_get_zoom_level_percentage (NautilusFilesView *view)
-{
- g_return_val_if_fail (NAUTILUS_IS_FILES_VIEW (view), 1);
-
- return NAUTILUS_FILES_VIEW_CLASS (G_OBJECT_GET_CLASS (view))->get_zoom_level_percentage (view);
-}
-
static gboolean
nautilus_files_view_is_zoom_level_default (NautilusFilesView *view)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]