[Bug 48234] New: TpStreamTubeConnection methods not introspectable

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 3 12:44:14 CEST 2012


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

             Bug #: 48234
           Summary: TpStreamTubeConnection methods not introspectable
    Classification: Unclassified
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-glib
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: will.thompson at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


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.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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