don't try to get xid of a non-existing window

This commit is contained in:
Yann Leboulanger 2013-07-31 18:22:55 +02:00
parent 967fa409a9
commit cac6a2a067
1 changed files with 2 additions and 1 deletions

View File

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