From cfc8101333535e3336eff5e929839c5262231db6 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 15 Jan 2008 23:28:30 -0500 Subject: don't let repeating timers, with a very fast timer in the queue, cause the main loop to run the timers forever --- openbox/ping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/ping.c') diff --git a/openbox/ping.c b/openbox/ping.c index daabbfb5..d159805d 100644 --- a/openbox/ping.c +++ b/openbox/ping.c @@ -64,7 +64,7 @@ void ping_start(struct _ObClient *client, ObPingEventHandler h) ping_send(t); ping_targets = g_slist_prepend(ping_targets, t); ob_main_loop_timeout_add(ob_main_loop, PING_TIMEOUT, ping_timeout, - t, NULL, NULL); + t, g_direct_equal, NULL); if (!active) { active = TRUE; -- cgit v1.2.3