Merge branch 'wip/carlosg/broadway-fix' into 'main'

gdk/broadway: Add deprecation guards around gdk_display_put_event()

See merge request GNOME/gtk!5450
This commit is contained in:
Carlos Garnacho 2023-01-27 19:20:28 +00:00
commit 09769193d7

View File

@ -97,7 +97,9 @@ handle_focus_change (GdkEvent *event)
focus_event = gdk_focus_event_new (gdk_event_get_surface (event),
gdk_event_get_device (event),
focus_in);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gdk_display_put_event (gdk_event_get_display (event), focus_event);
G_GNUC_END_IGNORE_DEPRECATIONS
gdk_event_unref (focus_event);
}