From: Matthias Clasen Date: Fri, 15 May 2020 03:14:04 +0000 (-0400) Subject: docs: Clarify gdk_display_get_default_seat() docs X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~17^2~37^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9b7a73268ea264f5674d04e129d9dabf680d3513;p=gtk4.git docs: Clarify gdk_display_get_default_seat() docs This function can return %NULL if the display does not have a seat. Document that. --- diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c index 9274ca1318..f99128459e 100644 --- a/gdk/gdkdisplay.c +++ b/gdk/gdkdisplay.c @@ -1497,7 +1497,10 @@ gdk_display_remove_seat (GdkDisplay *display, * * Returns the default #GdkSeat for this display. * - * Returns: (transfer none): the default seat. + * Note that a display may not have a seat. In this case, + * this function will return %NULL. + * + * Returns: (transfer none) (nullable): the default seat. **/ GdkSeat * gdk_display_get_default_seat (GdkDisplay *display)