Skip to content

Commit

Permalink
Revert "don't use GLib directly"
Browse files Browse the repository at this point in the history
This reverts commit bc8bf26.
  • Loading branch information
totaam committed Oct 9, 2022
1 parent 67e54b6 commit b5722d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xpra/server/mixins/child_command_server.py
Expand Up @@ -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 (
Expand Down Expand Up @@ -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():
Expand Down

0 comments on commit b5722d3

Please sign in to comment.