9c1880d
Avoid an assertion failure and crash of the python interpreter caused by
9c1880d
pygtk's usage of the deprecated PyCObject and Python 2.7.
9c1880d
9c1880d
https://bugzilla.redhat.com/show_bug.cgi?id=621887
9c1880d
aaea827
Index: gajim-0.13.90/src/gajim.py
9c1880d
===================================================================
aaea827
--- gajim-0.13.90.orig/src/gajim.py
aaea827
+++ gajim-0.13.90/src/gajim.py
aaea827
@@ -133,7 +133,7 @@ if os.name == 'nt':
aaea827
     sys.stderr = MyStderr()
9c1880d
 
9c1880d
 # PyGTK2.10+ only throws a warning
9c1880d
-warnings.filterwarnings('error', module='gtk')
9c1880d
+warnings.filterwarnings('error', module='gtk', append=True)
9c1880d
 try:
aaea827
     import gobject
aaea827
     import gtk