summaryrefslogtreecommitdiff
path: root/thunar/thunar-gio-extensions.c
diff options
context:
space:
mode:
authorNick Schermer <nick@xfce.org>2012-10-07 01:16:53 +0200
committerNick Schermer <nick@xfce.org>2012-10-13 16:10:35 +0200
commit3dee1594752e97e7958abbfb029ce59ce026fe8f (patch)
tree674227a69f1908592600b4ef76a406edb0eae73e /thunar/thunar-gio-extensions.c
parent24a3e95c1c840c5104f9918d413002737489c9ef (diff)
downloadthunar-3dee1594752e97e7958abbfb029ce59ce026fe8f.tar.gz
Use ThunarDevice in the tree side pane.
Diffstat (limited to 'thunar/thunar-gio-extensions.c')
-rw-r--r--thunar/thunar-gio-extensions.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/thunar/thunar-gio-extensions.c b/thunar/thunar-gio-extensions.c
index ae52cda6..1432fff2 100644
--- a/thunar/thunar-gio-extensions.c
+++ b/thunar/thunar-gio-extensions.c
@@ -549,35 +549,6 @@ thunar_g_volume_is_mounted (GVolume *volume)
-gboolean
-thunar_g_volume_is_present (GVolume *volume)
-{
- gboolean has_media = FALSE;
- gboolean is_shadowed = FALSE;
- GDrive *drive;
- GMount *mount;
-
- _thunar_return_val_if_fail (G_IS_VOLUME (volume), FALSE);
-
- drive = g_volume_get_drive (volume);
- if (drive != NULL)
- {
- has_media = g_drive_has_media (drive);
- g_object_unref (drive);
- }
-
- mount = g_volume_get_mount (volume);
- if (mount != NULL)
- {
- is_shadowed = g_mount_is_shadowed (mount);
- g_object_unref (mount);
- }
-
- return has_media && !is_shadowed;
-}
-
-
-
gboolean
thunar_g_app_info_launch (GAppInfo *info,
GFile *working_directory,