socket_conn = conn.get_socket_connection() Traceback (most recent call last): File "stream-tube.py", line 39, in _accept_cb socket_conn = conn.get_socket_connection() AttributeError: 'StreamTubeConnection' object has no attribute 'get_socket_connection' One can work around this thusly: + # FIXME: tp_stream_tube_connection_get_socket_connection() is not + # available via GI. + # socket_conn = conn.get_socket_connection() + socket_conn = conn.get_property('socket-connection') but this is bad.
We use to consider _get_() functions as "C bindings" and so were skipping them from introspection (assuming other gir lg would have their own way to access GObject properties). But this is bullshit and we should just introspect them as well.
Fix: find -name *.c | xargs sed -i -r "s/tp_(.+)_get_(.+): \(skip\)/tp_\1_get_\2:/g"
Made a patch while I was at it. I've kept skip for CM-side code, deprecated getters or stuff that can't really be introspected in a useful way.
Looks reasonable to me, FWIW.
Yeah, looks fine to me.
ok, just kept skip on tp_account_get_detailed_error() because it has better _vardict() variant, and tp_dbus/stream_tube_channel_get_parameters() which should get a _vardict() variant. Branch merged.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.