Main loop ignores GPollFD sources when there is at least one source ready with priority higher than default one
Even when poll fd source has higher priority.
Attached is a simple test that illustrate the problem:
Only timer source is dispatched:
./glib_test
Timer source 0xab5f50
Timer source 0xab5f50
Timer source 0xab5f50
Timer source 0xab5f50
While I'd expect PollFD (which has higher priority) and Timer source to interleave:
./glib_test
Timer source 0x13800
PollFD source 0x13980
Timer source 0x13800
PollFD source 0x13980
Timer source 0x13800
PollFD source 0x13980
Timer source 0x13800