summaryrefslogtreecommitdiff
path: root/gi
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2019-11-28 10:18:44 -0300
committerThibault Saunier <tsaunier@igalia.com>2019-11-28 10:47:07 -0300
commit91d05de9b93c38621bd70240b154dfdccf3bb0e1 (patch)
treef9fca99376715446b7230d49779154ffbdf69574 /gi
parent95b2f643944b49a5676da78b4b77358b386591be (diff)
python: Fix type type qualifiers issues
Diffstat (limited to 'gi')
-rw-r--r--gi/overrides/gstmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gi/overrides/gstmodule.c b/gi/overrides/gstmodule.c
index 4e26fdb..71f67aa 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,