summaryrefslogtreecommitdiff
path: root/src/ui/theme-parser.c
diff options
context:
space:
mode:
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;