mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 19:10:43 -05:00
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:
parent
3f4e194c8f
commit
7d2f0bf1fe
@ -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>
|
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
|
* src/c-window.c (meta_comp_window_free): return TRUE when the
|
||||||
|
@ -632,8 +632,6 @@ meta_comp_window_explode (MetaCompWindow *comp_window,
|
|||||||
g_idle_add (update_explosion, info);
|
g_idle_add (update_explosion, info);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* new shrinkydink code */
|
/* new shrinkydink code */
|
||||||
|
|
||||||
#define SHRINK_TIME 1.0
|
#define SHRINK_TIME 1.0
|
||||||
@ -683,6 +681,8 @@ meta_comp_window_shrink (MetaCompWindow *comp_window,
|
|||||||
g_idle_add (update_shrink, info);
|
g_idle_add (update_shrink, info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/* old shrinkydink minimize effect */
|
/* old shrinkydink minimize effect */
|
||||||
|
|
||||||
|
@ -105,6 +105,8 @@ get_xid (MetaWindow *window)
|
|||||||
return window->xwindow;
|
return window->xwindow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_COMPOSITE_EXTENSIONS
|
||||||
|
|
||||||
static void
|
static void
|
||||||
do_effect (MetaEffect *effect,
|
do_effect (MetaEffect *effect,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
@ -153,6 +155,8 @@ do_effect (MetaEffect *effect,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* HAVE_COMPOSITE_EXTENSIONS */
|
||||||
|
|
||||||
MetaCompositor *
|
MetaCompositor *
|
||||||
meta_compositor_new (MetaDisplay *display)
|
meta_compositor_new (MetaDisplay *display)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user