summaryrefslogtreecommitdiff
path: root/libmenu/menu-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmenu/menu-layout.c')
-rw-r--r--libmenu/menu-layout.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmenu/menu-layout.c b/libmenu/menu-layout.c
index 641aff5..f51ef24 100644
--- a/libmenu/menu-layout.c
+++ b/libmenu/menu-layout.c
@@ -2163,6 +2163,8 @@ end_element_handler (GMarkupParseContext *context,
if (!fixup_move_node (context, parser, parser->stack_top, error))
goto out;
break;
+ default:
+ g_assert_not_reached();
}
out:
@@ -2248,6 +2250,8 @@ text_handler (GMarkupParseContext *context,
g_markup_parse_context_get_element (context));
}
break;
+ default:
+ g_assert_not_reached();
}
add_context_to_error (error, context);