summaryrefslogtreecommitdiff
path: root/src/file-manager
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 /src/file-manager
parentb6d46039be75bd2b868ee6c32b091a1e37720a20 (diff)
downloadcaja-7d64342c6914b8f502512fd111ec3acb2083741e.tar.bz2
caja-7d64342c6914b8f502512fd111ec3acb2083741e.tar.xz
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'src/file-manager')
-rw-r--r--src/file-manager/fm-list-view.c4
-rw-r--r--src/file-manager/fm-tree-model.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c
index 921128b0..87bb5d9e 100644
--- a/src/file-manager/fm-list-view.c
+++ b/src/file-manager/fm-list-view.c
@@ -1296,11 +1296,11 @@ sort_column_changed_callback (GtkTreeSortable *sortable,
if (sort_attr == default_sort_attr)
{
/* use value from preferences */
- reversed = g_settings_get_boolean (caja_preferences, CAJA_PREFERENCES_DEFAULT_SORT_IN_REVERSE_ORDER);
+ reversed = (g_settings_get_boolean (caja_preferences, CAJA_PREFERENCES_DEFAULT_SORT_IN_REVERSE_ORDER) != FALSE);
}
else
{
- reversed = caja_file_is_date_sort_attribute_q (sort_attr);
+ reversed = (caja_file_is_date_sort_attribute_q (sort_attr) != FALSE);
}
if (reversed)
diff --git a/src/file-manager/fm-tree-model.c b/src/file-manager/fm-tree-model.c
index 017d9f8c..3beb5f27 100644
--- a/src/file-manager/fm-tree-model.c
+++ b/src/file-manager/fm-tree-model.c
@@ -1101,7 +1101,7 @@ set_done_loading (FMTreeModel *model, TreeNode *node, gboolean done_loading)
had_dummy = tree_node_has_dummy_child (node);
- node->done_loading = done_loading;
+ node->done_loading = (done_loading != FALSE);
if (tree_node_has_dummy_child (node))
{