Skip to content

Commit

Permalink
don't use GLib directly
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Sep 20, 2022
1 parent 3782e79 commit bc8bf26
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions xpra/server/mixins/child_command_server.py
Expand Up @@ -10,8 +10,6 @@
import os.path
from time import monotonic

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 @@ -73,7 +71,7 @@ def __init__(self):
#even if __init__ is called multiple times:
if not getattr(self, "late_start_requested", False):
self.late_start_requested = True
GLib.idle_add(self.late_start)
self.idle_add(self.late_start)

def late_start(self):
def do_late_start():
Expand Down

0 comments on commit bc8bf26

Please sign in to comment.