Wrapped gtk.main() in threading code. This should fix the startup segfaults
This commit is contained in:
@ -447,4 +447,6 @@ parser.add_option('-c' ,'--config', dest="filename", default="~/.mytwitter.conf"
|
||||
my_twitter = MyTwitter(options.filename)
|
||||
|
||||
gtk.gdk.threads_init()
|
||||
gtk.gdk.threads_enter()
|
||||
gtk.main()
|
||||
gtk.gdk.threads_leave()
|
||||
|
Reference in New Issue
Block a user