Since commit b5934625, gimp_text_tool_apply() is a semi-public function (only to be used from gimptexttool-editor.c). Therefore move it to the "public functions" section.