Comment 2 for bug 990490

Revision history for this message
Nadav (nadavvin) wrote :

Ubuntu 11.10
gir1.2-lightdm-1
gjs

$ gjs
gjs> const LightDM = imports.gi.LightDM;
typein:1: strict warning: reference to undefined property imports.gi
typein:1: strict warning: reference to undefined property imports.gi.LightDM
gjs> let greeter = new LightDM.Greeter();
typein:2: strict warning: reference to undefined property LightDM.Greeter
Error: Unable to construct boxed type Greeter since it has no zero-args <constructor>, can only wrap an existing one

attached example code