Does not look like we need to emulate gobject.timeout_add_second anymore
This commit is contained in:
parent
a5ec7232a6
commit
c6389decfb
|
@ -215,12 +215,6 @@ del pritext
|
|||
|
||||
import gtkexcepthook
|
||||
|
||||
import gobject
|
||||
if not hasattr(gobject, 'timeout_add_seconds'):
|
||||
def timeout_add_seconds_fake(time_sec, *args):
|
||||
return gobject.timeout_add(time_sec * 1000, *args)
|
||||
gobject.timeout_add_seconds = timeout_add_seconds_fake
|
||||
|
||||
import signal
|
||||
import gtkgui_helpers
|
||||
|
||||
|
|
Loading…
Reference in New Issue