PyGTK.patch 559 B

1234567891011121314151617181920212223
  1. diff -Nuar a/gtk/__init__.py b/gtk/__init__.py
  2. --- a/gtk/__init__.py 2011-04-01 13:37:25.000000000 +0300
  3. +++ b/gtk/__init__.py 2022-08-24 10:43:09.899937881 +0300
  4. @@ -37,7 +37,7 @@
  5. if 'gtk._gtk' in sys.modules:
  6. _gtk = sys.modules['gtk._gtk']
  7. else:
  8. - from gtk import _gtk
  9. + from gtk import gtk
  10. import gdk
  11. @@ -124,7 +124,7 @@
  12. from gtk._gtk import *
  13. # Make PyGTK interactive
  14. -set_interactive(1)
  15. +gtk.set_interactive(1)
  16. # # For testing, so you can just turn off dynamicnamespace in gtk.override
  17. # if hasattr(_gtk, '_get_symbol_names'):