foreign-cairo: Enable cairo.Region support also on Python 2 if available
commita2cb674334267e3eaeac5b2ce849c4a38cc1b428
authorChristoph Reiter <creiter@src.gnome.org>
Sun, 9 Apr 2017 16:48:33 +0000 (9 18:48 +0200)
committerChristoph Reiter <creiter@src.gnome.org>
Sun, 9 Apr 2017 16:48:33 +0000 (9 18:48 +0200)
treeed989d0a25e9a16a48822e244c6f0c97d1832a81
parent3460081ed20b33b3a08c4fce5de135f1171f2ff0
foreign-cairo: Enable cairo.Region support also on Python 2 if available

The next pycairo version might add support for cairo_region_t.
This enables the converter functions also on Python 2 and makes
sure that the test suite does not crash in case it does.
gi/pygi-foreign-cairo.c