diff --git a/programming/language/python/python-gtk/files/PyGTK.patch b/programming/language/python/python-gtk/files/PyGTK.patch index a23b4b0d9f..67025bd3c6 100644 --- a/programming/language/python/python-gtk/files/PyGTK.patch +++ b/programming/language/python/python-gtk/files/PyGTK.patch @@ -1,6 +1,15 @@ diff -Nuar a/gtk/__init__.py b/gtk/__init__.py --- a/gtk/__init__.py 2011-04-01 13:37:25.000000000 +0300 -+++ b/gtk/__init__.py 2022-08-23 12:36:43.632942446 +0300 ++++ b/gtk/__init__.py 2022-08-24 10:43:09.899937881 +0300 +@@ -37,7 +37,7 @@ + if 'gtk._gtk' in sys.modules: + _gtk = sys.modules['gtk._gtk'] + else: +- from gtk import _gtk ++ from gtk import gtk + + import gdk + @@ -124,7 +124,7 @@ from gtk._gtk import * @@ -10,3 +19,4 @@ diff -Nuar a/gtk/__init__.py b/gtk/__init__.py # # For testing, so you can just turn off dynamicnamespace in gtk.override # if hasattr(_gtk, '_get_symbol_names'): +