python: Fix type type qualifiers issues

This commit is contained in:
Thibault Saunier 2019-11-28 10:18:44 -03:00
parent 95b2f64394
commit 91d05de9b9
2 changed files with 3 additions and 3 deletions

View file

@ -56,7 +56,7 @@ GST_DEBUG_CATEGORY_STATIC (pygst_debug);
#define GST_CAT_DEFAULT pygst_debug
static PyObject *
gi_gst_get_type (gchar * type_name)
gi_gst_get_type (const gchar * type_name)
{
PyObject *module, *dict;
@ -483,7 +483,7 @@ fail:
return -1;
}
void
static void
gi_gst_register_types (PyObject * d)
{
pyg_register_gtype_custom (GST_TYPE_FRACTION,

View file

@ -108,7 +108,7 @@ gst_python_plugin_load_file (GstPlugin * plugin, const char *name)
}
static gboolean
gst_python_load_directory (GstPlugin * plugin, gchar * path)
gst_python_load_directory (GstPlugin * plugin, const gchar * path)
{
GDir *dir;
const gchar *file;