Sorry, since you said the 2.60 code worked, I just copied from that post.

But actually, it's ... T1GATE_INT