summaryrefslogtreecommitdiff
path: root/src/gs-window-x11.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-22 07:53:46 +0100
committerVictor Kareh <[email protected]>2022-03-22 16:13:14 -0400
commitc97d51e16df73c4b99332d6ca9c7563c86989fc9 (patch)
tree78e7d4014dbf50db3726d0b969545f6ad90c1f24 /src/gs-window-x11.c
parent75fb2de203206f7a0f76b3ba5241a79e31ef607f (diff)
downloadmate-screensaver-c97d51e16df73c4b99332d6ca9c7563c86989fc9.tar.bz2
mate-screensaver-c97d51e16df73c4b99332d6ca9c7563c86989fc9.tar.xz
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'src/gs-window-x11.c')
-rw-r--r--src/gs-window-x11.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c
index b6aa859..7d6c530 100644
--- a/src/gs-window-x11.c
+++ b/src/gs-window-x11.c
@@ -1533,7 +1533,7 @@ window_set_dialog_up (GSWindow *window,
return;
}
- window->priv->dialog_up = dialog_up;
+ window->priv->dialog_up = (dialog_up != FALSE);
g_object_notify (G_OBJECT (window), "dialog-up");
}
@@ -1814,7 +1814,7 @@ gs_window_set_lock_enabled (GSWindow *window,
return;
}
- window->priv->lock_enabled = lock_enabled;
+ window->priv->lock_enabled = (lock_enabled != FALSE);
g_object_notify (G_OBJECT (window), "lock-enabled");
}
@@ -1832,7 +1832,7 @@ gs_window_set_keyboard_enabled (GSWindow *window,
{
g_return_if_fail (GS_IS_WINDOW (window));
- window->priv->keyboard_enabled = enabled;
+ window->priv->keyboard_enabled = (enabled != FALSE);
}
void
@@ -1859,7 +1859,7 @@ gs_window_set_logout_enabled (GSWindow *window,
{
g_return_if_fail (GS_IS_WINDOW (window));
- window->priv->logout_enabled = logout_enabled;
+ window->priv->logout_enabled = (logout_enabled != FALSE);
}
void
@@ -1868,7 +1868,7 @@ gs_window_set_user_switch_enabled (GSWindow *window,
{
g_return_if_fail (GS_IS_WINDOW (window));
- window->priv->user_switch_enabled = user_switch_enabled;
+ window->priv->user_switch_enabled = (user_switch_enabled != FALSE);
}
void
@@ -2278,7 +2278,7 @@ window_set_obscured (GSWindow *window,
return;
}
- window->priv->obscured = obscured;
+ window->priv->obscured = (obscured != FALSE);
g_object_notify (G_OBJECT (window), "obscured");
}