Hey David et al!
I was looking for the specifications for .desktop files and plugged ".desktop" into Google, which spat out
Integrating existing software with GNOME. After perusing, I found some errors I wanted to report and, long story short, ended up wading through historic commit logs to find commit
956f8ff, which finally explained why I couldn't find the code in the repo corresponding to the page I just read.