mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-09 08:58:27 +03:00
baseclass: Fix timeout_add
This commit is contained in:
parent
f0019113b6
commit
77063968c9
@ -199,7 +199,7 @@ class vmmGObject(GObject):
|
||||
"""
|
||||
Make sure timeout functions are run thread safe
|
||||
"""
|
||||
if not hasattr(gobject, "timout_add"):
|
||||
if not hasattr(gobject, "timeout_add"):
|
||||
return
|
||||
return gobject.timeout_add(timeout, _safe_wrapper, func, *args)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user