Don't import gtk, just use gobject
This commit is contained in:
parent
bfab84acc9
commit
7cc68303f9
@ -643,9 +643,9 @@ class PresenceService(object):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
import gtk
|
loop = gobject.MainLoop()
|
||||||
ps = PresenceService()
|
ps = PresenceService()
|
||||||
gtk.main()
|
loop.run()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
Loading…
Reference in New Issue
Block a user