Patch from Bruno Boaventura de Oliveira Lacerda to fix warnings about

2006-09-11  Elijah Newren  <newren gmail com>

	* src/compositor.c: Patch from Bruno Boaventura de Oliveira
	Lacerda to fix warnings about unused function and global var.
	#355489.
This commit is contained in:
Elijah Newren 2006-09-13 01:14:03 +00:00 committed by Elijah Newren
parent d3f1996655
commit 199e2b6988
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-09-11 Elijah Newren <newren gmail com>
* src/compositor.c: Patch from Bruno Boaventura de Oliveira
Lacerda to fix warnings about unused function and global var.
#355489.
2006-09-11 Thomas Thurman <thomas@thurman.org.uk> 2006-09-11 Thomas Thurman <thomas@thurman.org.uk>
* configure.in: post-release bump to 2.16.2 * configure.in: post-release bump to 2.16.2

View File

@ -96,6 +96,8 @@ handle_error (Display *dpy, XErrorEvent *ev, gpointer data)
} }
#endif #endif
#ifdef HAVE_COMPOSITE_EXTENSIONS
static Window static Window
get_xid (MetaWindow *window) get_xid (MetaWindow *window)
{ {
@ -105,6 +107,8 @@ get_xid (MetaWindow *window)
return window->xwindow; return window->xwindow;
} }
#endif /* HAVE_COMPOSITE_EXTENSIONS */
#ifdef HAVE_COMPOSITE_EXTENSIONS #ifdef HAVE_COMPOSITE_EXTENSIONS
static void static void
@ -551,7 +555,9 @@ meta_compositor_process_event (MetaCompositor *compositor,
#endif /* HAVE_COMPOSITE_EXTENSIONS */ #endif /* HAVE_COMPOSITE_EXTENSIONS */
} }
#ifdef HAVE_COMPOSITE_EXTENSIONS
static GTimer *timer; static GTimer *timer;
#endif /* HAVE_COMPOSITE_EXTENSIONS */
#ifdef HAVE_COMPOSITE_EXTENSIONS #ifdef HAVE_COMPOSITE_EXTENSIONS
static void static void