summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2017-12-12 16:56:29 +0200
committerErnestas Kulik <ernestask@gnome.org>2018-01-02 12:51:32 +0200
commit74dd9c9f72002d482c898a704bb5b95655e35e08 (patch)
tree0472fecf3b99f1669be99fe18f343d0a47eea535 /eel
parent816b8247f3147637d13b55446ee38d4470c0f225 (diff)
downloadnautilus-74dd9c9f72002d482c898a704bb5b95655e35e08.tar.gz
general: remove desktop support
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-vfs-extensions.c6
-rw-r--r--eel/eel-vfs-extensions.h2
2 files changed, 0 insertions, 8 deletions
diff --git a/eel/eel-vfs-extensions.c b/eel/eel-vfs-extensions.c
index 6c626f7e3..a35e26ed3 100644
--- a/eel/eel-vfs-extensions.c
+++ b/eel/eel-vfs-extensions.c
@@ -67,12 +67,6 @@ eel_uri_is_other_locations (const char *uri)
return g_str_has_prefix (uri, "other-locations:");
}
-gboolean
-eel_uri_is_desktop (const char *uri)
-{
- return g_str_has_prefix (uri, EEL_DESKTOP_URI);
-}
-
char *
eel_make_valid_utf8 (const char *name)
{
diff --git a/eel/eel-vfs-extensions.h b/eel/eel-vfs-extensions.h
index 0ad6b2be5..f8b6a1f64 100644
--- a/eel/eel-vfs-extensions.h
+++ b/eel/eel-vfs-extensions.h
@@ -32,14 +32,12 @@
G_BEGIN_DECLS
#define EEL_TRASH_URI "trash:"
-#define EEL_DESKTOP_URI "x-nautilus-desktop:"
#define EEL_SEARCH_URI "x-nautilus-search:"
gboolean eel_uri_is_favorites (const char *uri);
gboolean eel_uri_is_trash (const char *uri);
gboolean eel_uri_is_trash_folder (const char *uri);
gboolean eel_uri_is_in_trash (const char *uri);
-gboolean eel_uri_is_desktop (const char *uri);
gboolean eel_uri_is_search (const char *uri);
gboolean eel_uri_is_other_locations (const char *uri);
gboolean eel_uri_is_recent (const char *uri);