Revert deprecated GObject ParamFlags update

The update required GLib 2.42 but users may still be using 2.38
or later.
This commit is contained in:
Nick Hall 2016-05-28 15:46:31 +01:00
parent dae9db51be
commit 3e04d97b8b

View File

@ -969,12 +969,12 @@ class ValidatableMaskedEntry(MaskedEntry):
'data-type': (GObject.TYPE_PYOBJECT, 'data-type': (GObject.TYPE_PYOBJECT,
'Data Type of the widget', 'Data Type of the widget',
'Type object', 'Type object',
GObject.ParamFlags.READWRITE), GObject.PARAM_READWRITE),
'mandatory': (GObject.TYPE_BOOLEAN, 'mandatory': (GObject.TYPE_BOOLEAN,
'Mandatory', 'Mandatory',
'Mandatory', 'Mandatory',
False, False,
GObject.ParamFlags.READWRITE), GObject.PARAM_READWRITE),
} }
# FIXME put the data type support back # FIXME put the data type support back