diff options
-rw-r--r-- | src/compositor/compositor.c | 4 | ||||
-rw-r--r-- | src/core/testboxes.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c index 68f54d92..39344e82 100644 --- a/src/compositor/compositor.c +++ b/src/compositor/compositor.c @@ -156,10 +156,10 @@ void meta_compositor_end_move (MetaCompositor *compositor, void meta_compositor_free_window (MetaCompositor *compositor, MetaWindow *window) { - #ifdef HAVE_COMPOSITE_EXTENSIONS +#ifdef HAVE_COMPOSITE_EXTENSIONS if (compositor && compositor->free_window) compositor->free_window (compositor, window); - #endif +#endif } void diff --git a/src/core/testboxes.c b/src/core/testboxes.c index ecf35f2f..a48afa38 100644 --- a/src/core/testboxes.c +++ b/src/core/testboxes.c @@ -1105,7 +1105,7 @@ test_find_onscreen_edges (void) tmp = g_list_prepend (tmp, new_screen_edge ( 0, 20, 0, 1180, left)); #if 0 - #define FUDGE 50 /* number of edges */ +#define FUDGE 50 /* number of edges */ char big_buffer1[(EDGE_LENGTH+2)*FUDGE], big_buffer2[(EDGE_LENGTH+2)*FUDGE]; meta_rectangle_edge_list_to_string (edges, "\n ", big_buffer1); meta_rectangle_edge_list_to_string (tmp, "\n ", big_buffer2); @@ -1194,7 +1194,7 @@ test_find_nonintersected_xinerama_edges (void) tmp = g_list_prepend (tmp, new_xinerama_edge ( 800, 20, 0, 1080, right)); tmp = g_list_prepend (tmp, new_xinerama_edge ( 800, 20, 0, 1180, left)); #if 0 - #define FUDGE 50 +#define FUDGE 50 char big_buffer1[(EDGE_LENGTH+2)*FUDGE], big_buffer2[(EDGE_LENGTH+2)*FUDGE]; meta_rectangle_edge_list_to_string (edges, "\n ", big_buffer1); meta_rectangle_edge_list_to_string (tmp, "\n ", big_buffer2); |