Skip to content
Snippets Groups Projects

Fix library imports in synctex script

Closed Christian Bay requested to merge lu38wuqi/katarakt:master into master
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -63,7 +63,7 @@ Hint: VIM configuration:
import gobject
from gi.repository.GObject import MainLoop, threads_init
import sys
import dbus
import dbus.service
@@ -78,7 +78,7 @@ from dbus.mainloop.glib import DBusGMainLoop
# tell dbus that we use the gobject main loop
DBusGMainLoop(set_as_default=True)
loop = gobject.MainLoop()
loop = MainLoop()
#########################################
@@ -202,6 +202,6 @@ thread.start()
# enable threads again, otherwise the quit_if_pdf_exits-thread will not be
# executed
gobject.threads_init()
threads_init()
loop.run()
Loading