From dde47b796667715702fc3023e3876d892859dc07 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Fri, 8 Sep 2023 16:21:33 -0500 Subject: [PATCH] Fix documentation of gdk_display_put_event() This function is deprecated, but we should still document it properly. It appends, not prepends. This is clear enough from its implementation, but also we have practical experience with WebKit in: https://github.com/WebKit/WebKit/pull/8663 Matthias prefers to avoid the prepend, append, start, and end terminology altogether. --- gdk/gdkdisplay.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c index c1a11672da..3ea82a5743 100644 --- a/gdk/gdkdisplay.c +++ b/gdk/gdkdisplay.c @@ -473,8 +473,7 @@ gdk_display_get_event (GdkDisplay *display) * @display: a `GdkDisplay` * @event: (transfer none): a `GdkEvent` * - * Appends the given event onto the front of the event - * queue for @display. + * Adds the given event to the event queue for @display. * * Deprecated: 4.10: This function is only useful in very * special situations and should not be used by applications.