summaryrefslogtreecommitdiff
path: root/mate-session
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-22 07:14:39 +0100
committerraveit65 <[email protected]>2023-04-16 22:18:57 +0200
commit2291bf3c2a9764aabb92e32c604732df8b75c6aa (patch)
tree06e552fb5d7e882f85ebfd38efa82620577b901c /mate-session
parent126338497f92267b2ffab1effbdf7416f1fad879 (diff)
downloadmate-session-manager-2291bf3c2a9764aabb92e32c604732df8b75c6aa.tar.bz2
mate-session-manager-2291bf3c2a9764aabb92e32c604732df8b75c6aa.tar.xz
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'mate-session')
-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 */