metacity r3704 - in trunk: . src/core



Author: tthurman
Date: Sun May  4 17:57:11 2008
New Revision: 3704
URL: http://svn.gnome.org/viewvc/metacity?rev=3704&view=rev

Log:
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)



Modified:
   trunk/ChangeLog
   trunk/src/core/group-props.c
   trunk/src/core/window-props.c

Modified: trunk/src/core/group-props.c
==============================================================================
--- trunk/src/core/group-props.c	(original)
+++ trunk/src/core/group-props.c	Sun May  4 17:57:11 2008
@@ -197,7 +197,9 @@
   ++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

Modified: trunk/src/core/window-props.c
==============================================================================
--- trunk/src/core/window-props.c	(original)
+++ trunk/src/core/window-props.c	Sun May  4 17:57:11 2008
@@ -1586,7 +1586,9 @@
   ++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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]