gstmodule: fix warning when building against python2

PyMapping_GetItemString’ discards ‘const’ qualifier from pointer target type

https://bugzilla.gnome.org/show_bug.cgi?id=796093
This commit is contained in:
Havard Graff 2018-03-20 08:54:24 +01:00 committed by Thibault Saunier
parent 548dead568
commit e9d615bf53

View file

@ -66,7 +66,7 @@ GST_DEBUG_CATEGORY_STATIC (pygst_debug);
#define GST_CAT_DEFAULT pygst_debug
static PyObject *
gi_gst_get_type (const gchar * type_name)
gi_gst_get_type (gchar * type_name)
{
PyObject *module, *dict;