Skip to content

Commit 009773d

Browse files
committed
Gtk.main_iteration takes no arguments
the older sig is gtk.main_iteration(block=True) anyways. http://lazka.github.io/pgi-docs/#Gtk-3.0/functions.html#Gtk.main_iteration
1 parent ee4f072 commit 009773d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_gtk3.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def new_timer(self, *args, **kwargs):
362362
def flush_events(self):
363363
Gdk.threads_enter()
364364
while Gtk.events_pending():
365-
Gtk.main_iteration(True)
365+
Gtk.main_iteration()
366366
Gdk.flush()
367367
Gdk.threads_leave()
368368

0 commit comments

Comments
 (0)