Port to new GTK+ 3.x drawing APIs