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:
5d7d603
)
use gnew0 to make life easy
author
Dana Jansens
<danakj@orodu.net>
Sun, 23 Mar 2003 19:44:30 +0000
(19:44 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 23 Mar 2003 19:44:30 +0000
(19:44 +0000)
openbox/dispatch.c
patch
|
blob
|
history
diff --git
a/openbox/dispatch.c
b/openbox/dispatch.c
index d6f91a2f6b66c42fa57e46467a7021a4b458fc0e..08690a3715c9e74e8ed1842400f2572f3eab4817 100644
(file)
--- a/
openbox/dispatch.c
+++ b/
openbox/dispatch.c
@@
-22,10
+22,7
@@
void dispatch_startup()
j >>= 1;
++i;
}
- funcs = g_new(GSList*, i);
-
- for (i = 0, j = 1; j < EVENT_RANGE; ++i, j <<= 1)
- funcs[i] = NULL;
+ funcs = g_new0(GSList*, i);
}
void dispatch_shutdown()