Follow-on to 7bdccade98e76df3a7830bc45bc42321a77c709a - point out that there's
duplicated code in gallery_event.