From a85b51998ede3fc26c4711862cae02243ca3d77c Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 22 Dec 2021 08:56:29 +0100 Subject: Fix implicit conversion changes signedness: 'gboolean' to 'guint' --- libwindow-settings/marco-window-manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libwindow-settings') diff --git a/libwindow-settings/marco-window-manager.c b/libwindow-settings/marco-window-manager.c index 720b161c..c92887f4 100644 --- a/libwindow-settings/marco-window-manager.c +++ b/libwindow-settings/marco-window-manager.c @@ -287,8 +287,8 @@ marco_get_settings (MateWindowManager *wm, } if (to_get & MATE_WM_SETTING_AUTORAISE) { - settings->autoraise = g_settings_get_boolean (meta_wm->p->settings, - MARCO_AUTORAISE_KEY); + settings->autoraise = (g_settings_get_boolean (meta_wm->p->settings, + MARCO_AUTORAISE_KEY) != FALSE); settings->flags |= MATE_WM_SETTING_AUTORAISE; } -- cgit v1.2.1