pavouk/lgi — pull request #17 by psychon (2012-07-07 09:06:57+00:00)
Title: Cairo: Make the cairo.path() test fail

I was writing some bindings for functions that are new in cairo 1.12 (However, I have no idea yet what should happen when lgi gets run against cairo 1.10...). While writing tests for cairo_mesh_pattern_get_path(), I noticed that iterating over a path is broken.

However, I haven't managed to figure out why exactly iterating over a path is broken. For some reason, a path data's header.type field is always nil, which causes cairo.Path:pairs() to return nil as its first result.

When I can't fix this, let's at least break it badly enough so that others will notice the problem, too. :-)