From 8cee721df8e7160abc5f788ec1e286be712d1c5f Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 8 Feb 2023 10:00:43 +0000 Subject: [PATCH] gfileinfo: Remove erroneous GFileType casts from returns Looks like copy/paste errors. Signed-off-by: Philip Withnall --- gio/gfileinfo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gio/gfileinfo.c b/gio/gfileinfo.c index 1c932bb2f..316baccf1 100644 --- a/gio/gfileinfo.c +++ b/gio/gfileinfo.c @@ -1578,7 +1578,7 @@ g_file_info_get_is_hidden (GFileInfo *info) attr = lookup_attribute (G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN); value = g_file_info_find_value (info, attr); - return (GFileType)_g_file_attribute_value_get_boolean (value); + return _g_file_attribute_value_get_boolean (value); } /** @@ -1604,7 +1604,7 @@ g_file_info_get_is_backup (GFileInfo *info) attr = lookup_attribute (G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP); value = g_file_info_find_value (info, attr); - return (GFileType)_g_file_attribute_value_get_boolean (value); + return _g_file_attribute_value_get_boolean (value); } /** @@ -1630,7 +1630,7 @@ g_file_info_get_is_symlink (GFileInfo *info) attr = lookup_attribute (G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK); value = g_file_info_find_value (info, attr); - return (GFileType)_g_file_attribute_value_get_boolean (value); + return _g_file_attribute_value_get_boolean (value); } /**