summaryrefslogtreecommitdiff
path: root/src/gs-grab-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-grab-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-grab-x11.c')
-rw-r--r--src/gs-grab-x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gs-grab-x11.c b/src/gs-grab-x11.c
index cef6b15..733a01f 100644
--- a/src/gs-grab-x11.c
+++ b/src/gs-grab-x11.c
@@ -149,8 +149,8 @@ gs_grab_get (GSGrab *grab,
(gpointer *) &grab->priv->grab_window);
grab->priv->grab_display = display;
- grab->priv->no_pointer_grab = no_pointer_grab;
- grab->priv->hide_cursor = hide_cursor;
+ grab->priv->no_pointer_grab = (no_pointer_grab != FALSE);
+ grab->priv->hide_cursor = (hide_cursor != FALSE);
}
g_object_unref (G_OBJECT (cursor));