From a7bbde169964b11614cfbe46f176e2cf15b5b9dc Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Wed, 11 Feb 2009 04:34:17 +0000 Subject: [PATCH] Don't define meta_spew_event unless verbose mode is on. Closes #571126. svn path=/trunk/; revision=4132 --- src/core/display.c | 2 ++ src/core/window.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/core/display.c b/src/core/display.c index a2d4ef577..b03489e24 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -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); diff --git a/src/core/window.c b/src/core/window.c index be4cfbc1b..b3f2004b8 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -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)