From 7cc68303f9b369d650efd26f1ab3636c26b5be0c Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 24 Jul 2006 11:45:53 -0500 Subject: [PATCH] Don't import gtk, just use gobject --- shell/PresenceService/PresenceService.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/PresenceService/PresenceService.py b/shell/PresenceService/PresenceService.py index e2aba2ee..423997e3 100644 --- a/shell/PresenceService/PresenceService.py +++ b/shell/PresenceService/PresenceService.py @@ -643,9 +643,9 @@ class PresenceService(object): def main(): - import gtk + loop = gobject.MainLoop() ps = PresenceService() - gtk.main() + loop.run() if __name__ == "__main__": main()