Added curly brackets in two places to keep -pedantic happy.

2008-05-04  Thomas Thurman  <tthurman@gnome.org>

        Added curly brackets in two places to keep -pedantic happy.

        * src/core/window-props.c (meta_display_init_window_prop_hooks)
        * src/core/group-props.c (meta_display_init_group_prop_hooks)


svn path=/trunk/; revision=3704
This commit is contained in:
Thomas Thurman 2008-05-04 17:57:11 +00:00 committed by Thomas James Alexander Thurman
parent 3673472cd7
commit f8ff76efdd
3 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2008-05-04 Thomas Thurman <tthurman@gnome.org>
Added curly brackets in two places to keep -pedantic happy.
* src/core/window-props.c (meta_display_init_window_prop_hooks)
* src/core/group-props.c (meta_display_init_group_prop_hooks)
2008-05-03 Matt Krai <mkraai@beckman.com>
* src/core/delete.c (io_from_ping_dialog): fix type of "len" variable

View File

@ -197,7 +197,9 @@ meta_display_init_group_prop_hooks (MetaDisplay *display)
++i;
if (i != N_HOOKS)
g_error ("Initialized %d group hooks should have been %d\n", i, N_HOOKS);
{
g_error ("Initialized %d group hooks should have been %d\n", i, N_HOOKS);
}
}
void

View File

@ -1586,7 +1586,9 @@ meta_display_init_window_prop_hooks (MetaDisplay *display)
++i;
if (i != N_HOOKS)
g_error ("Initialized %d hooks should have been %d\n", i, N_HOOKS);
{
g_error ("Initialized %d hooks should have been %d\n", i, N_HOOKS);
}
}
void