[gtk2] generate headers at compile time.