ungerik/go-cairo — pull request #2 by gkelly (2012-11-14 02:44:51+00:00)
Title: Fix example

The example/draw.go has two problems. The first, as outlined in another pull request, is the use of incorrect constants. The second problem is that it attempts to finish a surface before writing it out to a PNG. This is an invalid sequence of operations.

This patch fixes both of those issues.