summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas James Alexander Thurman <tthurman@src.gnome.org>2009-02-11 04:34:17 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2009-02-11 04:34:17 +0000
commit6da5b8ccc5eca015617e33c4de19b090beee37eb (patch)
treedfce18a55d215ee9ab06dbf0e6cb31bd3320941f /src
parent128e2b917da842adf1185d094ef13311c16dd9c4 (diff)
downloadmetacity-6da5b8ccc5eca015617e33c4de19b090beee37eb.tar.gz
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
Diffstat (limited to 'src')
-rw-r--r--src/core/display.c2
-rw-r--r--src/core/window.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/core/display.c b/src/core/display.c
index ef06d6a9..70b952a3 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -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);
diff --git a/src/core/window.c b/src/core/window.c
index 905f9c39..c9bc037f 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -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)