diff options
-rw-r--r-- | cardtable.py | 2 | ||||
-rw-r--r-- | svgcard.py | 7 |
2 files changed, 0 insertions, 9 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: @@ -164,8 +164,6 @@ class SvgCard(Gtk.EventBox): self.props['front'].update({'fill_color': style.Color(fill_color), 'stroke_color': style.Color(stroke_color)}) self.queue_draw() - while Gtk.events_pending(): - Gtk.main_iteration() def set_pixbuf(self, pixbuf): if pixbuf is None: @@ -180,8 +178,6 @@ class SvgCard(Gtk.EventBox): self.show_jpeg = True self.queue_draw() - while Gtk.events_pending(): - Gtk.main_iteration() def get_pixbuf(self): return self.jpeg @@ -239,9 +235,6 @@ class SvgCard(Gtk.EventBox): self.flipped = True self.queue_draw() - while Gtk.events_pending(): - Gtk.main_iteration() - def cement(self): if not self.get_speak(): return |