summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-22 11:00:20 +0100
committerraveit65 <[email protected]>2022-03-10 19:30:35 +0100
commitbc3d0ca4b7c7672c20a1096ba614bf7b536ded74 (patch)
treeb0f3fd862ba3cfb1f9a45e5f19179c8dad19638b /src
parent4a860aca880cda22c6e1d97aa0d6471904943ceb (diff)
downloadengrampa-bc3d0ca4b7c7672c20a1096ba614bf7b536ded74.tar.bz2
engrampa-bc3d0ca4b7c7672c20a1096ba614bf7b536ded74.tar.xz
Fix implicit conversion changes signedness: 'gboolean'
Diffstat (limited to 'src')
-rw-r--r--src/fr-process.c4
-rw-r--r--src/fr-window.c4
-rw-r--r--src/fr-window.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/fr-process.c b/src/fr-process.c
index 1ee9d8d..c961485 100644
--- a/src/fr-process.c
+++ b/src/fr-process.c
@@ -413,7 +413,7 @@ fr_process_set_sticky (FrProcess *process,
g_return_if_fail (process->priv->current_comm >= 0);
info = g_ptr_array_index (process->priv->comm, process->priv->current_comm);
- info->sticky = sticky;
+ info->sticky = (sticky != FALSE);
}
void
@@ -426,7 +426,7 @@ fr_process_set_ignore_error (FrProcess *process,
g_return_if_fail (process->priv->current_comm >= 0);
info = g_ptr_array_index (process->priv->comm, process->priv->current_comm);
- info->ignore_error = ignore_error;
+ info->ignore_error = (ignore_error != FALSE);
}
void
diff --git a/src/fr-window.c b/src/fr-window.c
index 9154f09..3cc888f 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -6428,7 +6428,7 @@ archive_is_encrypted (FrWindow *window,
void
fr_window_archive_extract_here (FrWindow *window,
gboolean skip_older,
- gboolean overwrite,
+ FrOverwrite overwrite,
gboolean junk_paths)
{
ExtractData *edata;
@@ -8545,7 +8545,7 @@ fr_window_exec_batch_action (FrWindow *window,
fr_window_archive_extract_here (window,
FALSE,
- TRUE,
+ FR_OVERWRITE_NO,
FALSE);
break;
diff --git a/src/fr-window.h b/src/fr-window.h
index f56f860..23ecaa0 100644
--- a/src/fr-window.h
+++ b/src/fr-window.h
@@ -158,7 +158,7 @@ void fr_window_archive_extract (FrWindow *window,
gboolean ask_to_open_destination);
void fr_window_archive_extract_here (FrWindow *window,
gboolean skip_older,
- gboolean overwrite,
+ FrOverwrite overwrite,
gboolean junk_paths);
void fr_window_archive_test (FrWindow *window);