summaryrefslogtreecommitdiff
path: root/monitor
diff options
context:
space:
mode:
Diffstat (limited to 'monitor')
-rw-r--r--monitor/udisks2/gvfsudisks2volumemonitor.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/monitor/udisks2/gvfsudisks2volumemonitor.c b/monitor/udisks2/gvfsudisks2volumemonitor.c
index e6d42ead..e1d67fb8 100644
--- a/monitor/udisks2/gvfsudisks2volumemonitor.c
+++ b/monitor/udisks2/gvfsudisks2volumemonitor.c
@@ -698,10 +698,8 @@ should_include_mount (GVfsUDisks2VolumeMonitor *monitor,
GUnixMountEntry *mount_entry)
{
GUnixMountPoint *mount_point;
- gboolean ret;
-
-#ifdef HAVE_GLIB_2_57_1
const gchar *options;
+ gboolean ret;
/* g_unix_mount_get_options works only with libmount,
* see https://bugzilla.gnome.org/show_bug.cgi?id=668132
@@ -713,7 +711,6 @@ should_include_mount (GVfsUDisks2VolumeMonitor *monitor,
options);
goto out;
}
-#endif
/* if mounted at the designated mount point, use that info to decide */
mount_point = get_mount_point_for_mount (mount_entry);