summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-undostack-manager.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-06-16 13:37:09 +0200
committerraveit65 <[email protected]>2019-06-18 14:46:34 +0200
commite0e185b1790f5a670cdd1292bac75ad1c44e4996 (patch)
treeb5d170259858c497dbfb813c0ddb55a197a2c5ca /libcaja-private/caja-undostack-manager.c
parentef29013fdfd0df5d4a3cc6c5a8fb1583aabef952 (diff)
downloadcaja-e0e185b1790f5a670cdd1292bac75ad1c44e4996.tar.bz2
caja-e0e185b1790f5a670cdd1292bac75ad1c44e4996.tar.xz
Remove trailing whitespaces
find . -regextype posix-extended -regex '.*\.(c|h|ac|txt|xml)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
Diffstat (limited to 'libcaja-private/caja-undostack-manager.c')
-rw-r--r--libcaja-private/caja-undostack-manager.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libcaja-private/caja-undostack-manager.c b/libcaja-private/caja-undostack-manager.c
index e875803f..c80b4f79 100644
--- a/libcaja-private/caja-undostack-manager.c
+++ b/libcaja-private/caja-undostack-manager.c
@@ -795,22 +795,22 @@ get_all_trashed_items (GQueue *stack)
while ((action = (CajaUndoStackActionData *) g_queue_pop_tail (tmp_stack)) != NULL)
if (action->trashed)
- for (l = g_hash_table_get_keys (action->trashed); l != NULL; l=l->next) {
+ for (l = g_hash_table_get_keys (action->trashed); l != NULL; l=l->next) {
trash = g_list_append(trash, l->data);
}
-
+
g_queue_free (tmp_stack);
return (trash);
}
-static gboolean
+static gboolean
is_destination_uri_action_partof_trashed(GList *trash, GList *g)
{
GList *l;
char *uri;
- for (l = trash; l != NULL; l=l->next) {
- for (; g != NULL; g=g->next) {
+ for (l = trash; l != NULL; l=l->next) {
+ for (; g != NULL; g=g->next) {
//printf ("destinations: %s\n", g_file_get_uri(l->data));
uri = g_file_get_uri(g->data);
if (!strcmp (uri, l->data)) {