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
This commit is contained in:
parent
128e2b917d
commit
6da5b8ccc5
@ -1,3 +1,11 @@
|
|||||||
|
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>
|
2009-02-10 Matt Kraai <kraai@ftfbs.org>
|
||||||
|
|
||||||
* README: switch is "--disable-verbose-mode", not "--disable-verbose".
|
* README: switch is "--disable-verbose-mode", not "--disable-verbose".
|
||||||
|
@ -135,8 +135,10 @@ typedef struct
|
|||||||
*/
|
*/
|
||||||
static MetaDisplay *the_display = NULL;
|
static MetaDisplay *the_display = NULL;
|
||||||
|
|
||||||
|
#ifdef WITH_VERBOSE_MODE
|
||||||
static void meta_spew_event (MetaDisplay *display,
|
static void meta_spew_event (MetaDisplay *display,
|
||||||
XEvent *event);
|
XEvent *event);
|
||||||
|
#endif
|
||||||
|
|
||||||
static gboolean event_callback (XEvent *event,
|
static gboolean event_callback (XEvent *event,
|
||||||
gpointer data);
|
gpointer data);
|
||||||
|
@ -1692,8 +1692,10 @@ idle_calc_showing (gpointer data)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef WITH_VERBOSE_MODE
|
||||||
static const gchar* meta_window_queue_names[NUMBER_OF_QUEUES] =
|
static const gchar* meta_window_queue_names[NUMBER_OF_QUEUES] =
|
||||||
{"calc_showing", "move_resize", "update_icon"};
|
{"calc_showing", "move_resize", "update_icon"};
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
meta_window_unqueue (MetaWindow *window, guint queuebits)
|
meta_window_unqueue (MetaWindow *window, guint queuebits)
|
||||||
|
Loading…
Reference in New Issue
Block a user