summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-22 06:52:23 +0100
committerraveit65 <[email protected]>2022-03-10 22:23:34 +0100
commit5eace01ce45cf476d6a4a4d943656894a6287983 (patch)
treeee5546b5fe4363903871243ef0c2cfd701f2c1e6
parent3d732011e34a9b0c593ade0f66261fe7847dceab (diff)
downloadpluma-5eace01ce45cf476d6a4a4d943656894a6287983.tar.bz2
pluma-5eace01ce45cf476d6a4a4d943656894a6287983.tar.xz
pluma-encodings-combo-box: implicit conversion changes signedness
-rw-r--r--pluma/pluma-encodings-combo-box.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pluma/pluma-encodings-combo-box.c b/pluma/pluma-encodings-combo-box.c
index 94aa4401..ca26aa68 100644
--- a/pluma/pluma-encodings-combo-box.c
+++ b/pluma/pluma-encodings-combo-box.c
@@ -87,7 +87,7 @@ pluma_encodings_combo_box_set_property (GObject *object,
switch (prop_id)
{
case PROP_SAVE_MODE:
- combo->priv->save_mode = g_value_get_boolean (value);
+ combo->priv->save_mode = (g_value_get_boolean (value) != FALSE);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);