GtkTextTagTable: simplify the code