use gnew0 to make life easy

This commit is contained in:
Dana Jansens 2003-03-23 19:44:30 +00:00
parent 5d7d6038ca
commit 86a8d8031b

View file

@ -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()