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():
|
||||
import gtk
|
||||
loop = gobject.MainLoop()
|
||||
ps = PresenceService()
|
||||
gtk.main()
|
||||
loop.run()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user