summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-list-model.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:34:17 +0200
committerraveit65 <[email protected]>2021-11-20 16:50:14 +0100
commit0a4384ca8c93b62bdf393cd1f3698bab1999fc6f (patch)
tree9c68212e8ba254df3dc80cd091b8fd3198a9b643 /src/file-manager/fm-list-model.c
parentbdc5cf66eff8c52cf422cf7b0143ff3489bbb7b0 (diff)
downloadcaja-0a4384ca8c93b62bdf393cd1f3698bab1999fc6f.tar.bz2
caja-0a4384ca8c93b62bdf393cd1f3698bab1999fc6f.tar.xz
Use a blank line at most
Diffstat (limited to 'src/file-manager/fm-list-model.c')
-rw-r--r--src/file-manager/fm-list-model.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/file-manager/fm-list-model.c b/src/file-manager/fm-list-model.c
index a04b27f9..863efd2e 100644
--- a/src/file-manager/fm-list-model.c
+++ b/src/file-manager/fm-list-model.c
@@ -235,7 +235,6 @@ fm_list_model_get_path (GtkTreeModel *tree_model, GtkTreeIter *iter)
GSequenceIter *ptr;
FileEntry *file_entry;
-
model = (FMListModel *)tree_model;
g_return_val_if_fail (iter->stamp == model->details->stamp, NULL);
@@ -660,7 +659,6 @@ lookup_file (FMListModel *model, CajaFile *file,
return ptr;
}
-
struct GetIters
{
FMListModel *model;
@@ -734,7 +732,6 @@ fm_list_model_get_first_iter_for_file (FMListModel *model,
return res;
}
-
gboolean
fm_list_model_get_tree_iter_from_file (FMListModel *model, CajaFile *file,
CajaDirectory *directory,
@@ -1121,7 +1118,6 @@ fm_list_model_add_file (FMListModel *model, CajaFile *file,
}
}
-
file_entry->ptr = g_sequence_insert_sorted (files, file_entry,
fm_list_model_file_entry_compare_func, model);
@@ -1171,7 +1167,6 @@ fm_list_model_file_changed (FMListModel *model, CajaFile *file,
return;
}
-
pos_before = g_sequence_iter_get_position (ptr);
g_sequence_sort_changed (ptr, fm_list_model_file_entry_compare_func, model);
@@ -1493,8 +1488,6 @@ fm_list_model_unload_subdirectory (FMListModel *model, GtkTreeIter *iter)
file_entry->reverse_map = NULL;
}
-
-
void
fm_list_model_set_should_sort_directories_first (FMListModel *model, gboolean sort_directories_first)
{