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

Bug #702185 reported by Michael Vogt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gwibber
New
Medium
Unassigned
Libgwibber
New
Medium
Unassigned
libgwibber (Ubuntu)
Triaged
Low
Unassigned

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()'

Michael Vogt (mvo)
Changed in libgwibber (Ubuntu):
assignee: nobody → Ken VanDine (ken-vandine)
Changed in gwibber:
assignee: nobody → Ken VanDine (ken-vandine)
importance: Undecided → Medium
milestone: none → libgwibber-0.1.1
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libgwibber - 0.1.1-0ubuntu1

---------------
libgwibber (0.1.1-0ubuntu1) natty; urgency=low

  * New upstream release.
    - GIR fixes, use valac to generate the GIRs instead of g-ir-scanner,
      it generates more accurate metadata (LP: #702185)
  * debian/libgwibber1.symbols
    - Added new symbol
  * debian/libgwibber-dev.install, debian/libgwibber-gtk-dev.install
    - Handle the renamed .pc files
    - Install the .deps files along with the .vapi
 -- Ken VanDine <email address hidden> Wed, 23 Feb 2011 22:16:55 -0500

Changed in libgwibber (Ubuntu):
status: New → Fix Released
Revision history for this message
Ken VanDine (ken-vandine) wrote :

This still isn't working, but it has been partially fixed. I think we need to add a GI overrides for libgwibber.

Changed in libgwibber (Ubuntu):
status: Fix Released → Confirmed
Bilal Shahid (s9iper1)
Changed in libgwibber (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Low
Changed in gwibber:
status: New → Incomplete
status: Incomplete → New
Changed in libgwibber (Ubuntu):
assignee: Ken VanDine (ken-vandine) → nobody
Changed in gwibber:
assignee: Ken VanDine (ken-vandine) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.