Fix compilation in the non-composited case.

Wed May 24 13:09:49 2006  Søren Sandmann  <sandmann@redhat.com>

        * src/c-window.c: Fix compilation in the non-composited case.
This commit is contained in:
Søren Sandmann 2006-05-24 17:10:31 +00:00 committed by Søren Sandmann Pedersen
parent 3f4e194c8f
commit 7d2f0bf1fe
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Wed May 24 13:09:49 2006 Søren Sandmann <sandmann@redhat.com>
* src/c-window.c: Fix compilation in the non-composited case.
Wed May 24 12:57:32 2006 Søren Sandmann <sandmann@redhat.com>
* src/c-window.c (meta_comp_window_free): return TRUE when the

View File

@ -632,8 +632,6 @@ meta_comp_window_explode (MetaCompWindow *comp_window,
g_idle_add (update_explosion, info);
}
#endif
/* new shrinkydink code */
#define SHRINK_TIME 1.0
@ -683,6 +681,8 @@ meta_comp_window_shrink (MetaCompWindow *comp_window,
g_idle_add (update_shrink, info);
}
#endif
#if 0
/* old shrinkydink minimize effect */

View File

@ -105,6 +105,8 @@ get_xid (MetaWindow *window)
return window->xwindow;
}
#ifdef HAVE_COMPOSITE_EXTENSIONS
static void
do_effect (MetaEffect *effect,
gpointer data)
@ -153,6 +155,8 @@ do_effect (MetaEffect *effect,
}
}
#endif /* HAVE_COMPOSITE_EXTENSIONS */
MetaCompositor *
meta_compositor_new (MetaDisplay *display)
{