This bug was fixed in the package lightdm - 1.0.6-0ubuntu1.7

---------------
lightdm (1.0.6-0ubuntu1.7) oneiric-proposed; urgency=low

  * debian/patches/13_fix_gir_bindings.patch:
    - Fix GIR bindings (LP: #990490)
 -- Robert Ancell <[email protected]>   Tue, 01 May 2012 10:45:07 
+1200

** Changed in: lightdm (Ubuntu Oneiric)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/990490

Title:
  GIR interface is not following the documentation of the constructor

Status in Light Display Manager:
  Triaged
Status in “lightdm” package in Ubuntu:
  Fix Released
Status in “lightdm” source package in Oneiric:
  Fix Released

Bug description:
  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

  Based on documentation:
  
http://people.ubuntu.com/~robert-ancell/lightdm/reference/lightdm-gobject-1-Greeter-Interface.html

  
  original post in mailing list:
  http://lists.freedesktop.org/archives/lightdm/2012-April/000262.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/990490/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to