summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-file-conflict-dialog.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-06-16 13:37:09 +0200
committerraveit65 <[email protected]>2022-07-20 00:08:02 +0200
commitd4a862454a8eab5ac2002493749dadc20e16974d (patch)
tree62ebd9bac75a3ff336e195999dcd31691cab1669 /libcaja-private/caja-file-conflict-dialog.c
parent25ffc1e58eeb5c2faef66eba1ac58bf0ac19ff67 (diff)
downloadcaja-d4a862454a8eab5ac2002493749dadc20e16974d.tar.bz2
caja-d4a862454a8eab5ac2002493749dadc20e16974d.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-file-conflict-dialog.c')
-rw-r--r--libcaja-private/caja-file-conflict-dialog.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libcaja-private/caja-file-conflict-dialog.c b/libcaja-private/caja-file-conflict-dialog.c
index 4d853814..4fe465ec 100644
--- a/libcaja-private/caja-file-conflict-dialog.c
+++ b/libcaja-private/caja-file-conflict-dialog.c
@@ -346,7 +346,7 @@ file_list_ready_cb (GList *files,
gtk_button_set_label (GTK_BUTTON (details->replace_button),
_("Merge"));
}
-
+
/* If meld is installed, and source and destination arent binary
* files, show the diff button
*/
@@ -358,10 +358,10 @@ file_list_ready_cb (GList *files,
g_free (meld_found);
gboolean src_is_binary;
gboolean dest_is_binary;
-
+
src_is_binary = caja_file_is_binary (details->source);
dest_is_binary = caja_file_is_binary (details->destination);
-
+
if (!src_is_binary && !dest_is_binary)
gtk_widget_show (details->diff_button);
}
@@ -523,7 +523,7 @@ diff_button_clicked_cb (GtkButton *w,
{
CajaFileConflictDialogPrivate *details;
details = dialog->details;
-
+
GError *error;
char *command;
@@ -537,7 +537,7 @@ diff_button_clicked_cb (GtkButton *w,
argv[1] = g_file_get_path (caja_file_get_location (details->source));
argv[2] = g_file_get_path (caja_file_get_location (details->destination));
argv[3] = NULL;
-
+
error = NULL;
if (!g_spawn_async_with_pipes (NULL,
argv,