** Patch added: "13_fix_gir_bindings.patch"
   
https://bugs.launchpad.net/lightdm/+bug/990490/+attachment/3129011/+files/13_fix_gir_bindings.patch

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