From b5722d304d9825c7adceb34c211fa14dc3d9acff Mon Sep 17 00:00:00 2001 From: totaam Date: Sun, 9 Oct 2022 21:37:39 +0700 Subject: [PATCH] Revert "don't use GLib directly" This reverts commit bc8bf26c44d1b151d709232460483f5432f79f5b. --- xpra/server/mixins/child_command_server.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xpra/server/mixins/child_command_server.py b/xpra/server/mixins/child_command_server.py index 8dea3c1f70..1c2a60e279 100644 --- a/xpra/server/mixins/child_command_server.py +++ b/xpra/server/mixins/child_command_server.py @@ -11,6 +11,8 @@ from time import monotonic from subprocess import Popen +from gi.repository import GLib + from xpra.platform.features import COMMAND_SIGNALS from xpra.child_reaper import getChildReaper, reaper_cleanup from xpra.os_util import ( @@ -72,7 +74,7 @@ def __init__(self): #even if __init__ is called multiple times: if not getattr(self, "late_start_requested", False): self.late_start_requested = True - self.idle_add(self.late_start) + GLib.idle_add(self.late_start) def late_start(self): def do_late_start():