projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba38a0c
)
fire the destroy fnuction for timers when they are removed
author
Dana Jansens
<danakj@orodu.net>
Mon, 13 Oct 2003 00:28:25 +0000
(
00:28
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 13 Oct 2003 00:28:25 +0000
(
00:28
+0000)
openbox/mainloop.c
patch
|
blob
|
history
diff --git
a/openbox/mainloop.c
b/openbox/mainloop.c
index f9aaf5ed8b71fd323a0ae362929be475db28edff..3f9381f3e7dc12c6f8996bc84b69a7d48295a15e 100644
(file)
--- a/
openbox/mainloop.c
+++ b/
openbox/mainloop.c
@@
-674,6
+674,8
@@
static void timer_dispatch(ObMainLoop *loop, GTimeVal **wait)
if (curr->del_me) {
/* delete the top */
loop->timers = g_slist_delete_link(loop->timers, it);
+ if (curr->destroy)
+ curr->destroy(curr->data);
g_free(curr);
continue;
}