Don't define meta_spew_event unless verbose mode is on. Closes #571126.

svn path=/trunk/; revision=4132
This commit is contained in:
Matt Kraai 2009-02-11 04:34:17 +00:00 committed by Owen W. Taylor
parent bacccafe3c
commit a7bbde1699
2 changed files with 4 additions and 0 deletions

View File

@ -151,8 +151,10 @@ static guint display_signals [LAST_SIGNAL] = { 0 };
*/
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

@ -1921,8 +1921,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)