From ed37bcc25843fe442b53c52466b5b0df0201c031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Sandmann?= Date: Thu, 25 May 2006 19:18:34 +0000 Subject: [PATCH] Fix compilation in non-compositor case, by moving the stack functions into MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thu May 25 15:17:29 2006 Søren Sandmann * src/c-window.c: Fix compilation in non-compositor case, by moving the stack functions into the HAVE_COMPOSITOR defines. --- ChangeLog | 5 +++++ src/c-window.c | 8 +++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index e10999a98..203856650 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu May 25 15:17:29 2006 Søren Sandmann + + * src/c-window.c: Fix compilation in non-compositor case, by + moving the stack functions into the HAVE_COMPOSITOR defines. + Thu May 25 15:11:58 2006 Søren Sandmann * src/c-window.h: Add a destroy notifier to the window. diff --git a/src/c-window.c b/src/c-window.c index 9ac65c880..5aeee8633 100644 --- a/src/c-window.c +++ b/src/c-window.c @@ -1055,11 +1055,6 @@ meta_comp_window_bounce (MetaCompWindow *comp_window, g_idle_add (update_bounce, info); } -#endif - -#if 0 -#endif - void meta_comp_window_freeze_stack (MetaCompWindow *comp_window) { @@ -1078,3 +1073,6 @@ meta_comp_window_stack_frozen (MetaCompWindow *comp_window) return comp_window->stack_freeze_count > 0; } +#endif + +