From a1bc4bf88a88be077cc04055cf68e91a8423ade0 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 06 Feb 2010 23:07:56 +0000 Subject: catch window=None bug --- diff --git a/tagplay.py b/tagplay.py index 00d0019..d8cc86b 100644 --- a/tagplay.py +++ b/tagplay.py @@ -59,6 +59,8 @@ class Gplay: if message.structure is None: return True if message.structure.get_name() == 'prepare-xwindow-id': + if self.window is None: + return True self.window.set_sink(message.src) message.src.set_property('force-aspect-ratio', True) return True -- cgit v0.9.1