diff options
author | Edward Hervey <bilboed@bilboed.com> | 2005-09-29 13:56:03 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2005-09-29 13:56:03 +0000 |
commit | fc520c8a727db060a71e3323322977b213773187 (patch) | |
tree | 327ccf7b983087268bd9668bfdfd6154bcc085f0 /testsuite | |
parent | 1ead6981759893d44d44327de351ebff8cb12236 (diff) |
Updated definitions, wrapper and testsuite for changes in GstBus API
Original commit message from CVS:
* gst/gst.defs:
* gst/gstbus.override:
* testsuite/test_bus.py:
* testsuite/test_pipeline.py:
Updated definitions, wrapper and testsuite for changes in GstBus API
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/test_bus.py | 2 | ||||
-rw-r--r-- | testsuite/test_pipeline.py | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/testsuite/test_bus.py b/testsuite/test_bus.py index 0b7e15a..ab3e2dc 100644 --- a/testsuite/test_bus.py +++ b/testsuite/test_bus.py @@ -34,7 +34,7 @@ class BusAddWatchTest(TestCase): bus = pipeline.get_bus() self.assertEquals(bus.__gstrefcount__, 2) self.assertEquals(pipeline.__gstrefcount__, 1) - watch_id = bus.add_watch(gst.MESSAGE_ANY, self._message_received, pipeline, loop, "one") + watch_id = bus.add_watch(self._message_received, pipeline, loop, "one") self.assertEquals(bus.__gstrefcount__, 3) self.assertEquals(pipeline.__gstrefcount__, 1) diff --git a/testsuite/test_pipeline.py b/testsuite/test_pipeline.py index df6a609..2192e13 100644 --- a/testsuite/test_pipeline.py +++ b/testsuite/test_pipeline.py @@ -98,8 +98,7 @@ class PipelineAndBus(TestCase): self.bus = self.pipeline.get_bus() self.assertEquals(self.bus.__gstrefcount__, 2) - self.handler = self.bus.add_watch( - gst.MESSAGE_ANY, self._message_received) + self.handler = self.bus.add_watch(self._message_received) self.assertEquals(self.bus.__gstrefcount__, 3) self.loop = gobject.MainLoop() |