gtk: Patch to fix crash on right-clicking tray icon.