summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Thurman <tthurman@gnome.org>2008-05-04 17:57:11 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-05-04 17:57:11 +0000
commitf8ff76efddc578aa1c00fe99415172302bed2371 (patch)
treee500bad4c7b5e6916c27e39321fb29bd641f87af
parent3673472cd74eae5ff110d00978488f8c76de69de (diff)
downloadmetacity-f8ff76efddc578aa1c00fe99415172302bed2371.tar.gz
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
-rw-r--r--ChangeLog7
-rw-r--r--src/core/group-props.c4
-rw-r--r--src/core/window-props.c4
3 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index afec50aa..a781821c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/src/core/group-props.c b/src/core/group-props.c
index 3ca91e37..05e82900 100644
--- a/src/core/group-props.c
+++ b/src/core/group-props.c
@@ -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
diff --git a/src/core/window-props.c b/src/core/window-props.c
index 5ccc8c6a..044a4a72 100644
--- a/src/core/window-props.c
+++ b/src/core/window-props.c
@@ -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