summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);