gears.surface: Add a version check for lgi
commitca2fc7811ad769cc88ead583e099230f33f6c8a2
authorUli Schlachter <psychon@znc.in>
Tue, 5 Jun 2012 14:22:04 +0000 (5 16:22 +0200)
committerUli Schlachter <psychon@znc.in>
Tue, 5 Jun 2012 14:22:04 +0000 (5 16:22 +0200)
tree813f4cbe62ffc2c152bde3036b6206deba21b640
parentab7788e2f5208d7bb49c27c9cee1bf961ca56fbf
gears.surface: Add a version check for lgi

The cairo bindings are quite new in lgi and thus we depend on a quite new
version of lgi. Older versions will fail with lots of weird errors, e.g.:

lib/gears/color.lua:61:attempt to call field 'create_rgba' (a nil value)

Signed-off-by: Uli Schlachter <psychon@znc.in>
lib/gears/surface.lua.in