From 3e04d97b8b18c80ab41d435552a1729d04cb24fd Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sat, 28 May 2016 15:46:31 +0100 Subject: [PATCH] Revert deprecated GObject ParamFlags update The update required GLib 2.42 but users may still be using 2.38 or later. --- gramps/gui/widgets/validatedmaskedentry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/gui/widgets/validatedmaskedentry.py b/gramps/gui/widgets/validatedmaskedentry.py index 9acd12d56..341a9fbc1 100644 --- a/gramps/gui/widgets/validatedmaskedentry.py +++ b/gramps/gui/widgets/validatedmaskedentry.py @@ -969,12 +969,12 @@ class ValidatableMaskedEntry(MaskedEntry): 'data-type': (GObject.TYPE_PYOBJECT, 'Data Type of the widget', 'Type object', - GObject.ParamFlags.READWRITE), + GObject.PARAM_READWRITE), 'mandatory': (GObject.TYPE_BOOLEAN, 'Mandatory', 'Mandatory', False, - GObject.ParamFlags.READWRITE), + GObject.PARAM_READWRITE), } # FIXME put the data type support back