python: Fix type type qualifiers issues
This commit is contained in:
parent
95b2f64394
commit
91d05de9b9
@ -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,
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user