Fedora 18 backport - GObject.ParamFlags does not have READWRITE

This commit is contained in:
James Cameron
2018-11-19 14:09:18 +11:00
parent c7a7dcea7d
commit 85fc4680e9
5 changed files with 25 additions and 0 deletions
+5
View File
@@ -49,6 +49,11 @@ CONN_INTERFACE_ROOM_CONFIG = \
_logger = logging.getLogger('sugar3.presence.activity')
if not hasattr(GObject.ParamFlags, 'READWRITE'):
GObject.ParamFlags.READWRITE = GObject.ParamFlags.WRITABLE | \
GObject.ParamFlags.READABLE
class Activity(GObject.GObject):
"""UI interface for an Activity in the presence service