From 81375be326a1a2ca9198bdb119d5ba8bfabdaa1f Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 22 Dec 2021 09:28:01 +0100 Subject: Fix implicit conversion changes signedness: 'gboolean' to 'guint' --- src/ui/theme-parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui') diff --git a/src/ui/theme-parser.c b/src/ui/theme-parser.c index a8557a69..cfa34c6e 100644 --- a/src/ui/theme-parser.c +++ b/src/ui/theme-parser.c @@ -1063,10 +1063,10 @@ parse_toplevel_element (GMarkupParseContext *context, info->layout = meta_frame_layout_new (); if (has_title) /* only if explicit, otherwise inherit */ - info->layout->has_title = has_title_val; + info->layout->has_title = (has_title_val != FALSE); if (META_THEME_ALLOWS (info->theme, META_THEME_HIDDEN_BUTTONS) && hide_buttons_val) - info->layout->hide_buttons = hide_buttons_val; + info->layout->hide_buttons = (hide_buttons_val != FALSE); if (title_scale) info->layout->title_scale = title_scale_val; -- cgit v1.2.1