[nautilus] directory: Remove unused nautilus_directory_is_remote()
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] directory: Remove unused nautilus_directory_is_remote()
- Date: Tue, 18 Jul 2017 01:25:56 +0000 (UTC)
commit 91a607b1a8a1eaa72a59a3c6287f1b9ed6713484
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jul 18 03:22:48 2017 +0200
directory: Remove unused nautilus_directory_is_remote()
https://bugzilla.gnome.org/show_bug.cgi?id=784941
src/nautilus-directory.c | 15 ---------------
src/nautilus-directory.h | 1 -
2 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/src/nautilus-directory.c b/src/nautilus-directory.c
index c2ff911..a1b44a1 100644
--- a/src/nautilus-directory.c
+++ b/src/nautilus-directory.c
@@ -757,21 +757,6 @@ nautilus_directory_is_in_recent (NautilusDirectory *directory)
}
gboolean
-nautilus_directory_is_remote (NautilusDirectory *directory)
-{
- NautilusFile *file;
- gboolean is_remote;
-
- g_assert (NAUTILUS_IS_DIRECTORY (directory));
-
- file = nautilus_directory_get_corresponding_file (directory);
- is_remote = nautilus_file_is_remote (file);
- nautilus_file_unref (file);
-
- return is_remote;
-}
-
-gboolean
nautilus_directory_is_in_admin (NautilusDirectory *directory)
{
g_assert (NAUTILUS_IS_DIRECTORY (directory));
diff --git a/src/nautilus-directory.h b/src/nautilus-directory.h
index 68a398e..231384f 100644
--- a/src/nautilus-directory.h
+++ b/src/nautilus-directory.h
@@ -226,7 +226,6 @@ gboolean nautilus_directory_is_local_or_fuse (NautilusDirector
gboolean nautilus_directory_is_in_trash (NautilusDirectory *directory);
gboolean nautilus_directory_is_in_recent (NautilusDirectory *directory);
gboolean nautilus_directory_is_in_admin (NautilusDirectory *directory);
-gboolean nautilus_directory_is_remote (NautilusDirectory *directory);
/* Return false if directory contains anything besides a Nautilus metafile.
* Only valid if directory is monitored. Used by the Trash monitor.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]