metacity r4132 - in trunk: . src/core



Author: tthurman
Date: Wed Feb 11 04:34:17 2009
New Revision: 4132
URL: http://svn.gnome.org/viewvc/metacity?rev=4132&view=rev

Log:
        Don't define meta_spew_event unless verbose mode is on.
	Closes #571126.
	* src/core/display.c:
	* src/core/window.c:



Modified:
   trunk/ChangeLog
   trunk/src/core/display.c
   trunk/src/core/window.c

Modified: trunk/src/core/display.c
==============================================================================
--- trunk/src/core/display.c	(original)
+++ trunk/src/core/display.c	Wed Feb 11 04:34:17 2009
@@ -135,8 +135,10 @@
  */
 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);

Modified: trunk/src/core/window.c
==============================================================================
--- trunk/src/core/window.c	(original)
+++ trunk/src/core/window.c	Wed Feb 11 04:34:17 2009
@@ -1692,8 +1692,10 @@
   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]