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:
parent
3d044c351e
commit
5476feeaf2
@ -936,6 +936,7 @@ handle_end_element (GMarkupParseContext *context,
|
|||||||
}
|
}
|
||||||
|
|
||||||
case STATE_STORE:
|
case STATE_STORE:
|
||||||
|
{
|
||||||
g_assert (g_str_equal (element_name, "store"));
|
g_assert (g_str_equal (element_name, "store"));
|
||||||
|
|
||||||
if (parser->pending_store == -1)
|
if (parser->pending_store == -1)
|
||||||
@ -960,8 +961,10 @@ handle_end_element (GMarkupParseContext *context,
|
|||||||
|
|
||||||
parser->state = STATE_STORES;
|
parser->state = STATE_STORES;
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
case STATE_STORES:
|
case STATE_STORES:
|
||||||
|
{
|
||||||
g_assert (g_str_equal (element_name, "stores"));
|
g_assert (g_str_equal (element_name, "stores"));
|
||||||
|
|
||||||
if (parser->config_store->has_stores_policy)
|
if (parser->config_store->has_stores_policy)
|
||||||
@ -980,8 +983,10 @@ handle_end_element (GMarkupParseContext *context,
|
|||||||
|
|
||||||
parser->state = STATE_POLICY;
|
parser->state = STATE_POLICY;
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
case STATE_DBUS:
|
case STATE_DBUS:
|
||||||
|
{
|
||||||
if (!parser->config_store->has_dbus_policy)
|
if (!parser->config_store->has_dbus_policy)
|
||||||
{
|
{
|
||||||
parser->config_store->has_dbus_policy = TRUE;
|
parser->config_store->has_dbus_policy = TRUE;
|
||||||
@ -997,12 +1002,15 @@ handle_end_element (GMarkupParseContext *context,
|
|||||||
parser->state = STATE_POLICY;
|
parser->state = STATE_POLICY;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
case STATE_POLICY:
|
case STATE_POLICY:
|
||||||
|
{
|
||||||
g_assert (g_str_equal (element_name, "policy"));
|
g_assert (g_str_equal (element_name, "policy"));
|
||||||
|
|
||||||
parser->state = STATE_MONITORS;
|
parser->state = STATE_MONITORS;
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
case STATE_UNKNOWN:
|
case STATE_UNKNOWN:
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user