steps in the evolution of beatbox

This commit is contained in:
Paul Davis 2018-11-08 17:55:51 -05:00
parent 52fcb1d0da
commit 8fb67e15ea
5 changed files with 59 additions and 42 deletions

View file

@ -103,6 +103,9 @@ Text::height () const
void
Text::_redraw () const
{
/* XXX we should try to remove this assertion someday. Nothing wrong
with empty text.
*/
assert (!_text.empty());
assert (_canvas);
Glib::RefPtr<Pango::Context> context = _canvas->get_pango_context();