Handle single-use ports in event/glib.c