Metze, I like this except for the dlist_item stuff, which I think is unnecessary (as we discussed on IRC). It just adds an extra talloc and indirection for every event structure which isn't needed. Apart from that I think the abstraction is good. Thanks! Did you manage to get this hooked into any of our existing gtk apps? Cheers, Tridge