Missing filename in cairo_ps_surface_create args
Missing filename in cairo_ps_surface_create args
Merge pull request #46 from ntd/bugfix1

Missing filename in cairo_ps_surface_create args
cairo.Status.to_string() must accept cairo.Status

Having cairo.Status as input argument instead of ti.int allow
to_string() to accept both symbolic name and number value.

Added test case to check name-value equality.
Merge branch 'upstream' into devel
Raise an exception if GTK+ initialization fails

An error in gtk_init() resulted in a program termination not
interceptable on the Lua side. Unsetting the DISPLAY environment
variable on X11 based systems exhibits this issue:

$ DISPLAY= lua -e "print(pcall((require 'lgi').require, 'Gtk'))" 2> /dev/null
$

This is due to the exit() call present in gtk_init().

An assertion on gtk_init_check() instead can be properly intercepted.
This is the result on the previous command on my system after having
applied this patch:

$ DISPLAY= lua -e "print(pcall((require 'lgi').require, 'Gtk'))" 2> /dev/null
false	/usr/share/lua/5.2/lgi/override/Gtk.lua:24: assertion failed!
$
Merge branch 'pr2' into devel
Provide a fallback luaL_setfuncs() for Lua 5.1

The LGI bindings are failing at runtime because of the above missing
function. Added it to compat.c: implementation borrowed from Lua wiki.
Merge branch 'devel'