[LightDM] problem to create a greater in js?: Unable to construct boxed type Greeter since it has no zero-args <constructor>, can only wrap an existing one
Nadav Vinik
nadavvin at gmail.com
Sun Apr 15 20:33:51 PDT 2012
Hello
I try to create greeter in JS and it complain that the constructor of
LightDM.Greeter need args while in the documentation is not.
let greeter = new LightDM.Greeter();
JS ERROR: !!! Exception was: Error: Unable to construct boxed type
Greeter since it has no zero-args <constructor>, can only wrap an existing
one
JS ERROR: !!! lineNumber = '0'
JS ERROR: !!! fileName = '"gjs_throw"'
JS ERROR: !!! stack = '"("Unable to construct boxed type Greeter
since it has no zero-args <constructor>, can only wrap an existing
one")@gjs_throw:0
@./main.js:7
"'
JS ERROR: !!! message = '"Unable to construct boxed type Greeter
since it has no zero-args <constructor>, can only wrap an existing one"'
Error: Unable to construct boxed type Greeter since it has no zero-args
<constructor>, can only wrap an existing one
Documentation:
http://people.ubuntu.com/~robert-ancell/lightdm/reference/lightdm-gobject-1-Greeter-Interface.html
Thanks
Nadav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20120416/0d259ec1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.js
Type: application/x-javascript
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20120416/0d259ec1/attachment.bin>
More information about the LightDM
mailing list