gmain: fix poll record comparison
authorRyan Lortie <desrt@desrt.ca>
Fri, 28 Nov 2014 17:43:03 +0000 (12:43 -0500)
committerMaciej Wereski <m.wereski@partner.samsung.com>
Fri, 10 Jul 2015 09:47:42 +0000 (11:47 +0200)
commitf5ac61a75b0a8b6c54ca5903baa82747a184f7e6
tree5d8ada0f15047feb77de59d27f579934568a7b42
parent3d72a1cb0b21a241bb893c00ac6535333cf80ac3
gmain: fix poll record comparison

We intend to keep the list of poll records sorted by (integer) file
descriptor, but due to a typo we are actually keeping it sorted by
pointer address of the GPollFD.

Fix that.

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