mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
main: Don't gdk_flush() after every main loop wait
For a start, this makes gtk_main() work different from g_main_loop_run() calls. But most importantly, modern GDK does proper syncing itself and doesn't need to rely on a catch-all to get it right.
This commit is contained in:
parent
9629f9acc9
commit
0019178014
@ -986,7 +986,6 @@ gtk_main (void)
|
||||
gdk_threads_leave ();
|
||||
g_main_loop_run (loop);
|
||||
gdk_threads_enter ();
|
||||
gdk_flush ();
|
||||
}
|
||||
|
||||
main_loops = g_slist_remove (main_loops, loop);
|
||||
|
Loading…
Reference in New Issue
Block a user