summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-desktop-icon-file.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-20 22:08:18 +0100
committerraveit65 <[email protected]>2022-02-09 19:40:31 +0100
commit7d64342c6914b8f502512fd111ec3acb2083741e (patch)
tree7100492159efad69084d1103be75839d21535ec0 /libcaja-private/caja-desktop-icon-file.c
parentb6d46039be75bd2b868ee6c32b091a1e37720a20 (diff)
downloadcaja-7d64342c6914b8f502512fd111ec3acb2083741e.tar.bz2
caja-7d64342c6914b8f502512fd111ec3acb2083741e.tar.xz
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'libcaja-private/caja-desktop-icon-file.c')
-rw-r--r--libcaja-private/caja-desktop-icon-file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcaja-private/caja-desktop-icon-file.c b/libcaja-private/caja-desktop-icon-file.c
index 065e4e8e..43181ddb 100644
--- a/libcaja-private/caja-desktop-icon-file.c
+++ b/libcaja-private/caja-desktop-icon-file.c
@@ -205,8 +205,8 @@ update_info_from_link (CajaDesktopIconFile *icon_file)
file->details->mount = mount;
if (mount)
{
- file->details->can_unmount = g_mount_can_unmount (mount);
- file->details->can_eject = g_mount_can_eject (mount);
+ file->details->can_unmount = (g_mount_can_unmount (mount) != FALSE);
+ file->details->can_eject = (g_mount_can_eject (mount) != FALSE);
}
file->details->file_info_is_up_to_date = TRUE;