summaryrefslogtreecommitdiff
path: root/src/ui/theme-parser.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-22 09:28:01 +0100
committerraveit65 <[email protected]>2022-01-27 22:37:45 +0100
commit81375be326a1a2ca9198bdb119d5ba8bfabdaa1f (patch)
tree6477099b5ca95ad731be1b4532abdc45c2d63f81 /src/ui/theme-parser.c
parent89686c62f46565ae828112ae148f7f785fe5fcca (diff)
downloadmarco-81375be326a1a2ca9198bdb119d5ba8bfabdaa1f.tar.bz2
marco-81375be326a1a2ca9198bdb119d5ba8bfabdaa1f.tar.xz
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'src/ui/theme-parser.c')
-rw-r--r--src/ui/theme-parser.c4
1 files changed, 2 insertions, 2 deletions
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;