← Back to team overview

gwibber-bugs team mailing list archive

[Bug 702185] Re: gir has "introspectable=0" for Accounts.list()

 

** Also affects: gwibber
   Importance: Undecided
       Status: New

** Changed in: gwibber
   Importance: Undecided => Medium

** Changed in: gwibber
    Milestone: None => libgwibber-0.1.1

** Changed in: gwibber
     Assignee: (unassigned) => Ken VanDine (ken-vandine)

** Also affects: gwibber/libgwibber
   Importance: Undecided
       Status: New

** Changed in: gwibber/libgwibber
    Milestone: None => libgwibber-0.1.1

** Changed in: gwibber/libgwibber
   Importance: Undecided => Medium

** Changed in: gwibber/libgwibber
     Assignee: (unassigned) => Ken VanDine (ken-vandine)

-- 
You received this bug notification because you are a member of Gwibber
Bug Heros, which is subscribed to Gwibber.
https://bugs.launchpad.net/bugs/702185

Title:
  gir has "introspectable=0" for Accounts.list()

Status in Gwibber:
  New
Status in Gwibber libgwibber series:
  New
Status in “libgwibber” package in Ubuntu:
  New

Bug description:
  The gir /usr/share/gir-1.0/Gwibber-0.1.gir does not allow importing
  some methods like "Accounts.list()", the problem seems to be that
  introspectable is set to "0". It might be required that the vala code
  gets annotations for this to work fully.

  """
    <namespace name="Gwibber"
               version="0.1"
               shared-library="libgwibber.so.1"
               c:identifier-prefixes="Gwibber"
               c:symbol-prefixes="gwibber">
      <class name="Account"
  ...
        <method name="list"
                c:identifier="gwibber_accounts_list"
                introspectable="0">
          <return-value>
            <type name="GLib.List" c:type="GList*">
              <type name="gpointer" c:type="gpointer"/>
            </type>
          </return-value>
        </method>
  """

  To test:
  $ python -c 'from gi.repository import Gwibber; accounts=Gwibber.Accounts(); print accounts.list()'