summaryrefslogtreecommitdiffstats
path: root/htmlbuffer.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2006-05-16 14:46:25 +0000
committerDavid Cantrell <dcantrell@redhat.com>2006-05-16 14:46:25 +0000
commit46d4b5a1a19b3fcd72826ec36906e2402569eb73 (patch)
tree3192a8ad26b5340c198f616205ad54c679b799a3 /htmlbuffer.py
parent59cb0f268cc03ff18ad2aa78b9ff2c0ce4318524 (diff)
* gui.py: Remove PYGTK_DISABLE_THREADS environment variable. Call
gtk.gdk.threads_init() early on. Wrap gtk.main() in threads_enter and threads_leave calls. * htmlbuffer.py: Wrap gtk.main() in threads_enter and threads_leave calls. * iw/checklist.py: Likewise. * iw/datacombo.py: Likewise. * iw/ipwidget.py: Likewise. * iw/pixmapRadioButtonGroup_gui.py: Likewise.
Diffstat (limited to 'htmlbuffer.py')
-rw-r--r--htmlbuffer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/htmlbuffer.py b/htmlbuffer.py
index 064f93385..8ba8a99f8 100644
--- a/htmlbuffer.py
+++ b/htmlbuffer.py
@@ -231,5 +231,7 @@ if __name__ == '__main__':
win.add(sw)
win.show_all()
win.set_size_request(600, 600)
+ gtk.threads_enter()
gtk.main()
+ gtk.threads_leave()