Port from GObject to GLib

This commit is contained in:
Rahul Bothra
2018-07-25 00:30:25 +05:30
committed by James Cameron
parent 6730d129cd
commit 13a2282e5e
23 changed files with 153 additions and 149 deletions
+3 -3
View File
@@ -90,9 +90,9 @@ class Alert(Gtk.EventBox):
}
__gproperties__ = {
'title': (str, None, None, None, GObject.PARAM_READWRITE),
'msg': (str, None, None, None, GObject.PARAM_READWRITE),
'icon': (object, None, None, GObject.PARAM_WRITABLE),
'title': (str, None, None, None, GObject.ParamFlags.READWRITE),
'msg': (str, None, None, None, GObject.ParamFlags.READWRITE),
'icon': (object, None, None, GObject.ParamFlags.WRITABLE),
}
def __init__(self, **kwargs):