gmain: fix poll record comparison
authorRyan Lortie <desrt@desrt.ca>
Fri, 28 Nov 2014 17:43:03 +0000 (12:43 -0500)
committerRyan Lortie <desrt@desrt.ca>
Sat, 29 Nov 2014 04:54:02 +0000 (23:54 -0500)
commit5aba9ca837205f8eddec138326430af9d2fd6b11
tree191139d0043360ca3c1b605a51e6c94751447710
parentc476f7cd264ca3c69c002c4bcc1563b17cd976b2
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