diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2014-07-10 21:18:44 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2014-07-14 11:00:09 (GMT) |
commit | 8df10e6b92ed5c3ff447977bfaff8e235e136722 (patch) | |
tree | b062538da7132c60a7c3496ed3ba81e050210d15 /cardtable.py | |
parent | 711cda0d9a310c990142c242ce3d5724772450f3 (diff) |
Remove gtk wait operations
I don't know why this code was in different places:
while Gtk.events_pending():
Gtk.main_iteration()
Probbly is the wrong solution to some problem.
I removed it, if found the problem will try to solve it withut blocking.
Diffstat (limited to 'cardtable.py')
-rw-r--r-- | cardtable.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cardtable.py b/cardtable.py index 83d1b3d..25e8ab6 100644 --- a/cardtable.py +++ b/cardtable.py @@ -271,8 +271,6 @@ class CardTable(Gtk.EventBox): self.set_property('child', self.table) self.load_mode = mode self.queue_draw() - while Gtk.events_pending(): - Gtk.main_iteration() def load_msg(self, widget, msg): if not self.load_mode: |