diff options
author | rbuj <[email protected]> | 2021-12-22 08:56:29 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2023-04-16 17:15:02 +0200 |
commit | a85b51998ede3fc26c4711862cae02243ca3d77c (patch) | |
tree | b31ddb84278130092a7f2de0bcad5fce9158cc3c | |
parent | 7a4e5a1ebe46407ebbfa9893049c2d0eb39bed8b (diff) | |
download | mate-control-center-a85b51998ede3fc26c4711862cae02243ca3d77c.tar.bz2 mate-control-center-a85b51998ede3fc26c4711862cae02243ca3d77c.tar.xz |
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
-rw-r--r-- | capplets/common/mate-theme-info.c | 6 | ||||
-rw-r--r-- | libwindow-settings/marco-window-manager.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/capplets/common/mate-theme-info.c b/capplets/common/mate-theme-info.c index 47412a4d..f9f018a1 100644 --- a/capplets/common/mate-theme-info.c +++ b/capplets/common/mate-theme-info.c @@ -742,13 +742,13 @@ update_theme_index (GFile *index_uri, if (key_element & MATE_THEME_GTK_2) { theme_used_to_exist = theme_info->has_gtk; - theme_info->has_gtk = theme_exists; + theme_info->has_gtk = (theme_exists != FALSE); } else if (key_element & MATE_THEME_GTK_2_KEYBINDING) { theme_used_to_exist = theme_info->has_keybinding; - theme_info->has_keybinding = theme_exists; + theme_info->has_keybinding = (theme_exists != FALSE); } else if (key_element & MATE_THEME_MARCO) { theme_used_to_exist = theme_info->has_marco; - theme_info->has_marco = theme_exists; + theme_info->has_marco = (theme_exists != FALSE); } if (!theme_info->has_marco && !theme_info->has_keybinding && !theme_info->has_gtk) { 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; } |