Commit d3b9836b authored by Martin Soto's avatar Martin Soto

gst/gstbus.override (_wrap_gst_bus_add_watch): This function incorrectly...

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.
parent c709d39b
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:
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment