gst/gstelement.override (_wrap_gst_element_get_state): return an enum instead of an int.

Original commit message from CVS:
* gst/gstelement.override (_wrap_gst_element_get_state): return an
enum instead of an int.
This commit is contained in:
Johan Dahlin 2005-09-30 00:56:17 +00:00
parent b27e9ba001
commit a630c4673a
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-09-29 Johan Dahlin <johan@gnome.org>
* gst/gstelement.override (_wrap_gst_element_get_state): return an
enum instead of an int.
2005-09-29 Andy Wingo <wingo@pobox.com> 2005-09-29 Andy Wingo <wingo@pobox.com>
* examples/pipeline-tester (Window.play): * examples/pipeline-tester (Window.play):

2
common

@ -1 +1 @@
Subproject commit 7caeee4b949b4388927fec7fcf25f767429bde30 Subproject commit 7d175466d3319fe55327608ea1f7a20619ab5634

View file

@ -70,7 +70,7 @@ _wrap_gst_element_set_state(PyGObject *self, PyObject *args, PyObject *kwargs)
pyg_end_allow_threads; pyg_end_allow_threads;
return PyInt_FromLong(ret); return pyg_enum_from_gtype(GST_TYPE_STATE_CHANGE_RETURN, ret);
} }
%% %%
override gst_element_get_state kwargs override gst_element_get_state kwargs