static JSValueRef
shutdown_cb(JSContextRef context,
			JSObjectRef function,
			JSObjectRef thisObject,
			size_t argumentCount,
			const JSValueRef arguments[],
			JSValueRef *exception) {

	lightdm_shutdown(NULL);

	return JSValueMakeNull(context);
}
Beispiel #2
0
JS_EXPORT_API
gboolean greeter_run_shutdown ()
{
    return lightdm_shutdown (NULL);
}