summaryrefslogtreecommitdiff
path: root/src
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
parentb6d46039be75bd2b868ee6c32b091a1e37720a20 (diff)
downloadcaja-7d64342c6914b8f502512fd111ec3acb2083741e.tar.bz2
caja-7d64342c6914b8f502512fd111ec3acb2083741e.tar.xz
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'src')
-rw-r--r--src/caja-pathbar.c2
-rw-r--r--src/file-manager/fm-list-view.c4
-rw-r--r--src/file-manager/fm-tree-model.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/caja-pathbar.c b/src/caja-pathbar.c
index 332b6c1e..24f6ee1c 100644
--- a/src/caja-pathbar.c
+++ b/src/caja-pathbar.c
@@ -1941,7 +1941,7 @@ make_directory_button (CajaPathBar *path_bar,
button_data);
}
- button_data->file_is_hidden = file_is_hidden;
+ button_data->file_is_hidden = (file_is_hidden != FALSE);
gtk_container_add (GTK_CONTAINER (button_data->button), child);
gtk_widget_show_all (button_data->button);
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))
{