static JSValueRef
get_can_hibernate_cb(JSContextRef context,
					 JSObjectRef thisObject,
					 JSStringRef propertyName,
					 JSValueRef *exception) {

	return JSValueMakeBoolean(context, lightdm_get_can_hibernate());
}
JS_EXPORT_API
gboolean greeter_get_can_hibernate ()
{
    return lightdm_get_can_hibernate ();
}