gmain: Remove dispatching source stack
authorRyan Lortie <desrt@desrt.ca>
Wed, 12 Jun 2013 18:57:09 +0000 (14:57 -0400)
committerRyan Lortie <desrt@desrt.ca>
Mon, 30 Sep 2013 16:41:06 +0000 (12:41 -0400)
commit5ad7893b51d8652561dff72c70d6cb53416a31bf
tree2da0e6e25b88ef4527e6c34bb4be25bacd1a8bb0
parent4e9e7d0cba53a711bd650e9a5e28452b93f0d849
gmain: Remove dispatching source stack

This stack exists only to answer the question of "what is the currently
dispatching source" and is handled in a way that makes it very clear
that we don't need to be using a linked list at all...

Just store the GSource directly.

Independently discovered (and same solution) by Phillip Susi.

https://bugzilla.gnome.org/show_bug.cgi?id=709113
glib/gmain.c