diff --git a/gi/overrides/gstmodule.c b/gi/overrides/gstmodule.c index 4e26fdbebb..71f67aa9c9 100644 --- a/gi/overrides/gstmodule.c +++ b/gi/overrides/gstmodule.c @@ -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, diff --git a/plugin/gstpythonplugin.c b/plugin/gstpythonplugin.c index b9abafe6dd..df42bacfaf 100644 --- a/plugin/gstpythonplugin.c +++ b/plugin/gstpythonplugin.c @@ -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;