hashCode for GTEvent