mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
python: Fix type type qualifiers issues
This commit is contained in:
parent
95b2f64394
commit
91d05de9b9
2 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue