summaryrefslogtreecommitdiff
path: root/src/fr-process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-process.c')
-rw-r--r--src/fr-process.c4
1 files changed, 2 insertions, 2 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