Don't import gtk, just use gobject

This commit is contained in:
Dan Williams 2006-07-24 11:45:53 -05:00
parent bfab84acc9
commit 7cc68303f9

View File

@ -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()