summaryrefslogtreecommitdiff
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
parent128e2b917da842adf1185d094ef13311c16dd9c4 (diff)
downloadmetacity-6da5b8ccc5eca015617e33c4de19b090beee37eb.tar.gz
metacity-6da5b8ccc5eca015617e33c4de19b090beee37eb.tar.bz2
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
-rw-r--r--ChangeLog8
-rw-r--r--src/core/display.c2
-rw-r--r--src/core/window.c2
3 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 037334d..a2237b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
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".
Closes #571210.
diff --git a/src/core/display.c b/src/core/display.c
index ef06d6a..70b952a 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 905f9c3..c9bc037 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)