28 Feb
2009
28 Feb
'09
7:47 p.m.
On Sat, 2009-02-28 at 09:41 +0100, Balazs Scheidler wrote:
You are right. Only one of the destinations got initialized during startup. This patch fixes it for me:
diff --git a/src/apphook.c b/src/apphook.c index ab9cb02..6115b27 100644 --- a/src/apphook.c +++ b/src/apphook.c @@ -54,10 +54,10 @@ run_application_hook(gint type)
if (e->type == type) { + l_next = l->next; application_hooks = g_list_remove_link(application_hooks, l); e->func(type, e->user_data); g_free(e); - l_next = l->next; g_list_free_1(l); } else
I just wanted to add that this should be in tomorrow's snapshot. -- Bazsi