BTW: This looks like a memory leak. The event object is only freed if it is triggered by keyboard. Good thing that we'll get rid of it soon slightly_smiling_face
No, the next line which sets `button_event ` as data also adds `gdk_event_free` as a destructor, so its freed when the menu object is destroyed.