
As the handler returns false, the corresponding source is removed automatically and its id invalidated. Reset the id to 0 to reflect this, otherwise newer versions of GLib will print a warning when we later try to remove it explicitly. https://bugzilla.gnome.org/show_bug.cgi?id=711555