gst/gstbus.override (_wrap_gst_bus_add_watch): This function incorrectly returned self, which was causing the message...

Original commit message from CVS:
2005-12-19  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/gstbus.override (_wrap_gst_bus_add_watch): This function
incorrectly returned self, which was causing the message bus to
get prematurely destroyed by the Python interpreter. Now returns
Py_None.
This commit is contained in:
Martin Soto 2005-12-19 17:49:30 +00:00
parent c709d39be9
commit d3b9836bbd
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2005-12-19 Martin Soto <martinsoto@users.sourceforge.net>
* gst/gstbus.override (_wrap_gst_bus_add_watch): This function
incorrectly returned self, which was causing the message bus to
get prematurely destroyed by the Python interpreter. Now returns
Py_None.
2005-12-19 Edward Hervey <edward@fluendo.com>
* gst/gst.override:

View file

@ -179,8 +179,8 @@ _wrap_gst_bus_set_sync_handler (PyGObject *self, PyObject *args)
(GstBusSyncHandler) bus_sync_handler,
data);
return (PyObject*) self;
Py_INCREF(Py_None);
return Py_None;
}
%%
override gst_bus_add_watch args