Issue #2141119 by kim.pepper: Remove unused theme function