summaryrefslogtreecommitdiff
path: root/monitor
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2018-07-10 15:24:40 +0200
committerOndrej Holy <oholy@redhat.com>2018-07-10 15:24:40 +0200
commit1106ec3d4977c7eae726b7a3a09836678ff0de78 (patch)
treee8e6c35f58c71a407e9ec72358c091de997f1fec /monitor
parent26cd85ea61fc3f126f969c1a0a257a49fd61c9b5 (diff)
downloadgvfs-1106ec3d4977c7eae726b7a3a09836678ff0de78.tar.gz
Revert "Do not require the latest glib version"
This reverts commit 550aaf87c222a1626273e579e566f889b43006cf.
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);