[mutter: 14/209] Don't define meta_spew_event unless verbose mode is on. Closes #571126. * src/core/display



commit 6da5b8ccc5eca015617e33c4de19b090beee37eb
Author: Thomas James Alexander Thurman <tthurman src gnome org>
Date:   Wed Feb 11 04:34:17 2009 +0000

            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

 ChangeLog          |    8 ++++++++
 src/core/display.c |    2 ++
 src/core/window.c  |    2 ++
 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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]