summaryrefslogtreecommitdiff
path: root/openbox/ping.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-15 23:28:30 -0500
committerDana Jansens <danakj@orodu.net>2008-01-15 23:28:30 -0500
commitcfc8101333535e3336eff5e929839c5262231db6 (patch)
tree8afe52ad5b4d8e2ebe7165ba8176134cd9ae8259 /openbox/ping.c
parent7bd8e97fbb751f2a4b9b4feea140a703540bc4e3 (diff)
don't let repeating timers, with a very fast timer in the queue, cause the main loop to run the timers forever
Diffstat (limited to 'openbox/ping.c')
-rw-r--r--openbox/ping.c2
1 files changed, 1 insertions, 1 deletions
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;