summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-22 07:14:39 +0100
committerrbuj <[email protected]>2021-12-22 07:14:39 +0100
commitc0274c97fa1290c92ebe486e6192bd0196ad11ab (patch)
treef07766491c0f3b0172fb910226ad7310c434e1f7
parentaf8ed3f669480ed03b0b1e47acf58962b6184e43 (diff)
downloadmate-session-manager-c0274c97fa1290c92ebe486e6192bd0196ad11ab.tar.bz2
mate-session-manager-c0274c97fa1290c92ebe486e6192bd0196ad11ab.tar.xz
Fix implicit conversion changes signedness: 'gboolean' to 'guint'sign-conversion-bool-guint
-rw-r--r--mate-session/gsm-consolekit.c2
-rw-r--r--mate-session/gsm-systemd.c2
-rw-r--r--mate-session/gsm-xsmp-client.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/mate-session/gsm-consolekit.c b/mate-session/gsm-consolekit.c
index 6ff7644..45101c8 100644
--- a/mate-session/gsm-consolekit.c
+++ b/mate-session/gsm-consolekit.c
@@ -245,7 +245,7 @@ gsm_consolekit_ensure_ck_connection (GsmConsolekit *manager,
out:
if (priv->is_connected != is_connected) {
- priv->is_connected = is_connected;
+ priv->is_connected = (is_connected != FALSE);
g_object_notify (G_OBJECT (manager), "is-connected");
}
diff --git a/mate-session/gsm-systemd.c b/mate-session/gsm-systemd.c
index f11a26b..74def27 100644
--- a/mate-session/gsm-systemd.c
+++ b/mate-session/gsm-systemd.c
@@ -245,7 +245,7 @@ gsm_systemd_ensure_sd_connection (GsmSystemd *manager,
out:
if (priv->is_connected != is_connected) {
- priv->is_connected = is_connected;
+ priv->is_connected = (is_connected != FALSE);
g_object_notify (G_OBJECT (manager), "is-connected");
}
diff --git a/mate-session/gsm-xsmp-client.c b/mate-session/gsm-xsmp-client.c
index 17bca6f..bffecac 100644
--- a/mate-session/gsm-xsmp-client.c
+++ b/mate-session/gsm-xsmp-client.c
@@ -439,7 +439,7 @@ do_save_yourself (GsmXSMPClient *client,
g_debug ("GsmXSMPClient: queuing new SaveYourself for '%s'",
priv->description);
priv->next_save_yourself = save_type;
- priv->next_save_yourself_allow_interact = allow_interact;
+ priv->next_save_yourself_allow_interact = (allow_interact != FALSE);
} else {
priv->current_save_yourself = save_type;
/* make sure we don't have anything queued */