diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/caja-pathbar.c | 2 | ||||
-rw-r--r-- | src/file-manager/fm-list-view.c | 4 | ||||
-rw-r--r-- | src/file-manager/fm-tree-model.c | 2 |
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)) { |