@Eduard - I had to modify your patch because it didn't compile with the current win32 devlibs. The G-SOURCE-REMOVE macro was added in glib-2.32, but we still use glib-2.28 (and I don't really want to update it now...). See https://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html#G-SOURCE-REMOVE:CAPS
So I used the old g_source_remove() function instead (hope I used it correctly...) and it compiled and worked as expected.
New patch (based on Eduard's, comment #22) attached.
@Eduard - I had to modify your patch because it didn't compile with the current win32 devlibs. The G-SOURCE-REMOVE macro was added in glib-2.32, but we still use glib-2.28 (and I don't really want to update it now...). See https:/ /developer. gnome.org/ glib/stable/ glib-The- Main-Event- Loop.html# G-SOURCE- REMOVE: CAPS
So I used the old g_source_remove() function instead (hope I used it correctly...) and it compiled and worked as expected.
New patch (based on Eduard's, comment #22) attached.