summaryrefslogtreecommitdiffstats
path: root/gobject/pygobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'gobject/pygobject.c')
-rw-r--r--gobject/pygobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gobject/pygobject.c b/gobject/pygobject.c
index 15ddc47..242833e 100644
--- a/gobject/pygobject.c
+++ b/gobject/pygobject.c
@@ -419,7 +419,8 @@ static PySequenceMethods _PyGProps_as_sequence = {
0
};
-PYGLIB_DEFINE_TYPE("gobject.GPropsDescr", PyGPropsDescr_Type, 0);
+struct empty {} _empty;
+PYGLIB_DEFINE_TYPE("gobject.GPropsDescr", PyGPropsDescr_Type, _empty);
static PyObject *
pyg_props_descr_descr_get(PyObject *self, PyObject *obj, PyObject *type)