summaryrefslogtreecommitdiff
path: root/mate-session/gsm-systemd.c
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 /mate-session/gsm-systemd.c
parentaf8ed3f669480ed03b0b1e47acf58962b6184e43 (diff)
downloadmate-session-manager-sign-conversion-bool-guint.tar.bz2
mate-session-manager-sign-conversion-bool-guint.tar.xz
Fix implicit conversion changes signedness: 'gboolean' to 'guint'sign-conversion-bool-guint
Diffstat (limited to 'mate-session/gsm-systemd.c')
-rw-r--r--mate-session/gsm-systemd.c2
1 files changed, 1 insertions, 1 deletions
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");
}