Skip to content

Commit f23a753

Browse files
committed
Merge pull request #4093 from majidaldo/master
MNT : Gtk.main_iteration takes no arguments Update to use new API, should maintain current behaviour with old GTK versions
2 parents 005cfde + 009773d commit f23a753

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)