summaryrefslogtreecommitdiff
path: root/mate-session/gsm-consolekit.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-session/gsm-consolekit.c')
-rw-r--r--mate-session/gsm-consolekit.c2
1 files changed, 1 insertions, 1 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");
}