Don't define meta_spew_event unless verbose mode is on.

Closes #571126.
	* src/core/display.c:
	* src/core/window.c:


svn path=/trunk/; revision=4132
This commit is contained in:
Thomas James Alexander Thurman 2009-02-11 04:34:17 +00:00
parent 128e2b917d
commit 6da5b8ccc5
3 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2009-02-10 Matt Kraai <kraai@ftfbs.org>
Don't define meta_spew_event unless verbose mode is on.
Closes #571126.
* src/core/display.c:
* src/core/window.c:
2009-02-10 Matt Kraai <kraai@ftfbs.org>
* README: switch is "--disable-verbose-mode", not "--disable-verbose".

View File

@ -135,8 +135,10 @@ typedef struct
*/
static MetaDisplay *the_display = NULL;
#ifdef WITH_VERBOSE_MODE
static void meta_spew_event (MetaDisplay *display,
XEvent *event);
#endif
static gboolean event_callback (XEvent *event,
gpointer data);

View File

@ -1692,8 +1692,10 @@ idle_calc_showing (gpointer data)
return FALSE;
}
#ifdef WITH_VERBOSE_MODE
static const gchar* meta_window_queue_names[NUMBER_OF_QUEUES] =
{"calc_showing", "move_resize", "update_icon"};
#endif
static void
meta_window_unqueue (MetaWindow *window, guint queuebits)