Hi! Please add an Impact/Test Case/Regression Potential section to the
bug description, per https://wiki.ubuntu.com/StableReleaseUpdates

The upload looks fine, but please add those sections and then the upload
can be accepted into oneiric-proposed.

Thanks!

** Also affects: lightdm (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: lightdm (Ubuntu Oneiric)
   Importance: Undecided
       Status: New

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

** Changed in: lightdm (Ubuntu)
   Importance: Undecided => High

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

** Changed in: lightdm (Ubuntu Oneiric)
   Importance: Undecided => High

-- 
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 Committed

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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to