fixed crash when calling a callback that does not exist for the text and text edit widgets

Ignore-this: 74817d76d010401651c3f9748c1b9b4c

darcs-hash:20140618135824-c21fe-417c0a2d243888e20fb84d03d9866f46b8ad5bb1