This avoids looking up the signal by name and instead uses the saved signal identifier from gtktexttagtable.c
And also move private function to a private header.