display: Don't wake up the main loop anymore

This is not needed because GTK must be run in the main thread these days,
which is the same one that runs the main loop. So when this function is
called, the main loop is awake.

https://bugzilla.gnome.org/show_bug.cgi?id=550989
This commit is contained in:
Benjamin Otte 2018-05-22 19:43:43 +02:00
parent b1f384eec2
commit 4aedf3d003

View File

@ -492,8 +492,6 @@ gdk_display_put_event_nocopy (GdkDisplay *display,
GdkEvent *event)
{
_gdk_event_queue_append (display, event);
/* If the main loop is blocking in a different thread, wake it up */
g_main_context_wakeup (NULL);
}
/**