Review: Port from GObject to GLib

Fix new flake8 issues introduced by cb0d6e2.
master
James Cameron 6 years ago
parent 13a2282e5e
commit 84a7286986

@ -236,8 +236,7 @@ class ActivityCreationHandler(GObject.GObject):
GLib.child_watch_add(child.pid,
_child_watch_cb,
(log_file,
self._handle.activity_id))
(log_file, self._handle.activity_id))
def _no_reply_handler(self, *args):
pass

@ -37,8 +37,10 @@ class _TrayViewport(Gtk.Viewport):
__gproperties__ = {
'scrollable': (bool, None, None, False, GObject.ParamFlags.READABLE),
'can-scroll-prev': (bool, None, None, False, GObject.ParamFlags.READABLE),
'can-scroll-next': (bool, None, None, False, GObject.ParamFlags.READABLE),
'can-scroll-prev': (bool, None, None, False,
GObject.ParamFlags.READABLE),
'can-scroll-next': (bool, None, None, False,
GObject.ParamFlags.READABLE),
}
def __init__(self, orientation):
@ -333,7 +335,8 @@ class VTray(Gtk.EventBox):
__gproperties__ = {
'align': (int, None, None, 0, 1, ALIGN_TO_START,
GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY),
GObject.ParamFlags.READWRITE |
GObject.ParamFlags.CONSTRUCT_ONLY),
'drag-active': (bool, None, None, False, GObject.ParamFlags.READWRITE),
}

Loading…
Cancel
Save