From e8097a6f8f4bb2864a5ca99ed245b031a3806454 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 26 Oct 2002 01:49:03 +0000 Subject: [PATCH] fix build --- src/display.c | 2 ++ src/wm-tester/main.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/display.c b/src/display.c index 83413043a..033c8101e 100644 --- a/src/display.c +++ b/src/display.c @@ -139,6 +139,7 @@ remove_pending_pings_for_window (MetaDisplay *display, Window xwindow) } +#ifdef HAVE_STARTUP_NOTIFICATION static void sn_error_trap_push (SnDisplay *sn_display, Display *xdisplay) @@ -158,6 +159,7 @@ sn_error_trap_pop (SnDisplay *sn_display, if (display != NULL) meta_error_trap_pop (display, FALSE); } +#endif gboolean meta_display_open (const char *name) diff --git a/src/wm-tester/main.c b/src/wm-tester/main.c index bcf1f104b..ce419faa9 100644 --- a/src/wm-tester/main.c +++ b/src/wm-tester/main.c @@ -161,7 +161,7 @@ evil_timeout (gpointer data) static void set_up_the_evil (void) { - g_timeout_add (40, evil_timeout, NULL); + g_timeout_add (400, evil_timeout, NULL); } static void