diff options
author | Sébastien Wilmet <swilmet@gnome.org> | 2016-04-09 15:21:27 +0200 |
---|---|---|
committer | Sébastien Wilmet <swilmet@gnome.org> | 2016-04-09 18:54:42 +0200 |
commit | 6db7de3f7ba42d667c305d76aaef55f09e0c26d9 (patch) | |
tree | 26576e92b27cfac8daf80841791116d36a78ff07 /gtk/gtkapplication.c | |
parent | af1c873bca212303a6fe3829d38298d9e0493eec (diff) | |
download | gtk+-6db7de3f7ba42d667c305d76aaef55f09e0c26d9.tar.gz |
app: fix indentation
And add missing curly braces.
Diffstat (limited to 'gtk/gtkapplication.c')
-rw-r--r-- | gtk/gtkapplication.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c index b57ebfbc01..51e0216587 100644 --- a/gtk/gtkapplication.c +++ b/gtk/gtkapplication.c @@ -607,14 +607,16 @@ gtk_application_load_resources (GtkApplication *application) path = g_strconcat (base_path, "/gtk/help-overlay.ui", NULL); if (g_resources_get_info (path, G_RESOURCE_LOOKUP_FLAGS_NONE, NULL, NULL, NULL)) - { - const gchar * const accels[] = { "<Primary>F1", "<Primary>question", NULL }; + { + const gchar * const accels[] = { "<Primary>F1", "<Primary>question", NULL }; - application->priv->help_overlay_path = path; - gtk_application_set_accels_for_action (application, "win.show-help-overlay", accels); - } - else - g_free (path); + application->priv->help_overlay_path = path; + gtk_application_set_accels_for_action (application, "win.show-help-overlay", accels); + } + else + { + g_free (path); + } } } |