Refactoring to avoid the _gtk_DrawingArea kludge