[Bug 58103] New: Add gobject-introspection support

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 11 01:28:41 CET 2012


https://bugs.freedesktop.org/show_bug.cgi?id=58103

          Priority: medium
            Bug ID: 58103
          Assignee: telepathy-bugs at lists.freedesktop.org
           Summary: Add gobject-introspection support
        QA Contact: telepathy-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: will.thompson at collabora.co.uk
               URL: http://cgit.collabora.com/git/user/wjt/wocky/log/?h=in
                    trospection
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: General
           Product: Wocky

I had a quick stab at this. I got it working far enough to let me connect
(which is cool) but there are some problems:

• You need to call Wocky.init() manually.
• wocky_porter_register_handler_* need to have GDestroyNotify parameters for
their callbacks' user_data. This got me thinking: why do the _by_stanza
variants take both the stanza to match, *and* a type & subtype?
• wocky_stanza_build() pretty obviously doesn't work. That's fine, we'll build
the trees ourself. But…
• wocky_node_add_child() ends up with you crasing because the return defaults
to (transfer full) and so python frees the child node (which is actually owned
by the parent) when it falls out of scope. Obviously pretty bad. But changing
it to (transfer none) still crashed when you look at parent.children, and I'm
not sure why.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list