summaryrefslogtreecommitdiff
path: root/src/fr-process.c
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/fr-process.c
parent4a860aca880cda22c6e1d97aa0d6471904943ceb (diff)
downloadengrampa-bc3d0ca4b7c7672c20a1096ba614bf7b536ded74.tar.bz2
engrampa-bc3d0ca4b7c7672c20a1096ba614bf7b536ded74.tar.xz
Fix implicit conversion changes signedness: 'gboolean'
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