summaryrefslogtreecommitdiff
path: root/plugins/housekeeping/msd-disk-space.c
diff options
context:
space:
mode:
authorLaurent Napias <[email protected]>2019-06-29 11:50:53 +0200
committerlukefromdc <[email protected]>2019-07-01 02:49:33 +0000
commit8d22bd7590c3487df96f8dc3972173236c66de87 (patch)
tree14ccecbfa067a2d7ab2bdb315686d01a20ecc084 /plugins/housekeeping/msd-disk-space.c
parent86362cdd37c71ad4d6b9a1c506838b201953fd29 (diff)
downloadmate-settings-daemon-8d22bd7590c3487df96f8dc3972173236c66de87.tar.bz2
mate-settings-daemon-8d22bd7590c3487df96f8dc3972173236c66de87.tar.xz
Remove trailing whitespaces
Diffstat (limited to 'plugins/housekeeping/msd-disk-space.c')
-rw-r--r--plugins/housekeeping/msd-disk-space.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/housekeeping/msd-disk-space.c b/plugins/housekeeping/msd-disk-space.c
index 505d6ab..33581d0 100644
--- a/plugins/housekeeping/msd-disk-space.c
+++ b/plugins/housekeeping/msd-disk-space.c
@@ -244,7 +244,7 @@ ldsm_mount_has_space (LdsmMountInfo *mount)
/* enough free space, nothing to do */
if (free_space > free_percent_notify)
return TRUE;
-
+
if (((gint64) mount->buf.f_frsize * (gint64) mount->buf.f_bavail) > ((gint64) free_size_gb_no_notify * GIGABYTE))
return TRUE;
@@ -277,7 +277,7 @@ ldsm_mount_is_user_ignore (const gchar *path)
return TRUE;
else
return FALSE;
-}
+}
static gboolean
@@ -296,11 +296,11 @@ static gboolean
ldsm_mount_should_ignore (GUnixMountEntry *mount)
{
const gchar *fs, *device, *path;
-
+
path = g_unix_mount_get_mount_path (mount);
if (ldsm_mount_is_user_ignore (path))
return TRUE;
-
+
/* This is borrowed from GLib and used as a way to determine
* which mounts we should ignore by default. GLib doesn't
* expose this in a way that allows it to be used for this
@@ -354,13 +354,13 @@ ldsm_mount_should_ignore (GUnixMountEntry *mount)
"/dev/vn",
NULL
};
-
+
fs = g_unix_mount_get_fs_type (mount);
device = g_unix_mount_get_device_path (mount);
-
+
if (is_in (fs, ignore_fs))
return TRUE;
-
+
if (is_in (device, ignore_devices))
return TRUE;