diff options
Diffstat (limited to 'libnautilus-private/nautilus-file.c')
-rw-r--r-- | libnautilus-private/nautilus-file.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c index bd519a0e8..2f1f650eb 100644 --- a/libnautilus-private/nautilus-file.c +++ b/libnautilus-private/nautilus-file.c @@ -5606,6 +5606,14 @@ nautilus_file_is_mountpoint (NautilusFile *file) return file->details->is_mountpoint; } +GMount * +nautilus_file_get_mount (NautilusFile *file) +{ + if (file->details->mount) { + return g_object_ref (file->details->mount); + } + return NULL; +} /** * nautilus_file_is_broken_symbolic_link |