1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2025-12-17 11:30:19 +01:00

* Removed unnecessary gtk import inside program.

This commit is contained in:
2007-08-29 20:21:06 +00:00
parent 60fb364f3f
commit ab3d0ea172

View File

@@ -2,7 +2,8 @@
def setup_path(): def setup_path():
"""Sets up the python include paths to include src""" """Sets up the python include paths to include src"""
import os.path; import sys import os.path
import sys
if sys.argv[0]: if sys.argv[0]:
top_dir = os.path.dirname(os.path.abspath(sys.argv[0])) top_dir = os.path.dirname(os.path.abspath(sys.argv[0]))
@@ -70,7 +71,6 @@ if __name__ == "__main__":
c = MainController(m) c = MainController(m)
v = MainView(c) v = MainView(c)
import gtk
try: try:
gtk.main() gtk.main()
except KeyboardInterrupt: except KeyboardInterrupt: