Wrapped gtk.main() in threading code. This should fix the startup segfaults
This commit is contained in:
parent
f838d9a61e
commit
5ab60f1278
1
TODO
1
TODO
|
@ -15,5 +15,4 @@ bugs:
|
||||||
|
|
||||||
* Direct Messages have no names, only screen names (may not be fixable without
|
* Direct Messages have no names, only screen names (may not be fixable without
|
||||||
considerable tweets to python-twitter)
|
considerable tweets to python-twitter)
|
||||||
* Segfault on start sometimes
|
|
||||||
* Can't always kill tabs
|
* Can't always kill tabs
|
||||||
|
|
|
@ -447,4 +447,6 @@ parser.add_option('-c' ,'--config', dest="filename", default="~/.mytwitter.conf"
|
||||||
my_twitter = MyTwitter(options.filename)
|
my_twitter = MyTwitter(options.filename)
|
||||||
|
|
||||||
gtk.gdk.threads_init()
|
gtk.gdk.threads_init()
|
||||||
|
gtk.gdk.threads_enter()
|
||||||
gtk.main()
|
gtk.main()
|
||||||
|
gtk.gdk.threads_leave()
|
||||||
|
|
Reference in New Issue
Block a user