don't try to get xid of a non-existing window
This commit is contained in:
parent
967fa409a9
commit
cac6a2a067
|
@ -5314,10 +5314,11 @@ class VoIPCallReceivedDialog(object):
|
|||
fixed.set_no_show_all(False)
|
||||
video_hbox.show_all()
|
||||
in_xid = ctrl.xml.get_object('incoming_drawingarea').window.xid
|
||||
out_xid = ctrl.xml.get_object('outgoing_drawingarea').window.xid
|
||||
content = session.get_content('video')
|
||||
# move outgoing stream to chat window
|
||||
if gajim.config.get('video_see_self'):
|
||||
out_xid = ctrl.xml.get_object('outgoing_drawingarea').\
|
||||
window.xid
|
||||
b = content.pipeline.get_by_name('bin2')
|
||||
c = b.get_by_name('autovideosink0')
|
||||
d = c.get_by_name('autovideosink0-actual-sink-xvimage')
|
||||
|
|
Loading…
Reference in New Issue