monitor-config-store: Parentheses for correct indentation

To silence check-code-style complaints in CI, but also for consistency
(other cases already have parentheses).

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2511>
This commit is contained in:
Daniel van Vugt 2022-07-12 17:26:43 +08:00 committed by Marge Bot
parent 3d044c351e
commit 5476feeaf2

View File

@ -936,6 +936,7 @@ handle_end_element (GMarkupParseContext *context,
}
case STATE_STORE:
{
g_assert (g_str_equal (element_name, "store"));
if (parser->pending_store == -1)
@ -960,8 +961,10 @@ handle_end_element (GMarkupParseContext *context,
parser->state = STATE_STORES;
return;
}
case STATE_STORES:
{
g_assert (g_str_equal (element_name, "stores"));
if (parser->config_store->has_stores_policy)
@ -980,8 +983,10 @@ handle_end_element (GMarkupParseContext *context,
parser->state = STATE_POLICY;
return;
}
case STATE_DBUS:
{
if (!parser->config_store->has_dbus_policy)
{
parser->config_store->has_dbus_policy = TRUE;
@ -997,12 +1002,15 @@ handle_end_element (GMarkupParseContext *context,
parser->state = STATE_POLICY;
return;
}
case STATE_POLICY:
{
g_assert (g_str_equal (element_name, "policy"));
parser->state = STATE_MONITORS;
return;
}
case STATE_UNKNOWN:
{