summaryrefslogtreecommitdiffstats
path: root/gobject/pygobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'gobject/pygobject.h')
-rw-r--r--gobject/pygobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/pygobject.h b/gobject/pygobject.h
index 751d37b..8eeb818 100644
--- a/gobject/pygobject.h
+++ b/gobject/pygobject.h
@@ -114,7 +114,7 @@ struct _PyGObject_Functions {
void (* flags_add_constants)(PyObject *module, GType flags_type,
const gchar *strip_prefix);
- gchar *(* constant_strip_prefix)(gchar *name,
+ const gchar *(* constant_strip_prefix)(const gchar *name,
const gchar *strip_prefix);
gboolean (* error_check)(GError **error);