Conversion of cube from the gtkglwindow widget demonstration.

