gst/gst.override (_wrap_gst_tag_setter_get_list): Override, to avoid compiler warning.

Original commit message from CVS:
* gst/gst.override (_wrap_gst_tag_setter_get_list): Override, to
avoid compiler warning.
This commit is contained in:
Johan Dahlin 2004-11-15 12:13:57 +00:00
parent 195af7df00
commit 857242d2f1
2 changed files with 14 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2004-11-15 Johan Dahlin <johan@gnome.org>
* gst/gst.override (_wrap_gst_tag_setter_get_list): Override, to
avoid compiler warning.
* gst/gstmodule.c (init_gst): Reset LC_NUMERIC, since it might
change in gst_init_check. Fixes 100% CPU usage in flumotion
when using a non C locale.

View file

@ -1248,3 +1248,14 @@ _wrap_gst_xml_parse_memory(PyGObject *self, PyObject *args, PyObject *kwargs)
return PyBool_FromLong(ret);
}
%%
override gst_tag_setter_get_list noargs
static PyObject *
_wrap_gst_tag_setter_get_list(PyGObject *self)
{
GstTagList *ret;
ret = (GstTagList*)gst_tag_setter_get_list(GST_TAG_SETTER(self->obj));
/* pyg_boxed_new handles NULL checking */
return pyg_boxed_new(GST_TYPE_TAG_LIST, ret, TRUE, TRUE);
}