[GLib] Fixed bug in Event.