From: Ondřej Míchal Date: Mon, 1 Aug 2022 10:52:30 +0000 (+0200) Subject: gdkdisplay: Document get_monitor_at_surface can return NULL X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~8^2~84^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=818ca63d35254d43632552261b4d3891520f2c82;p=gtk4.git gdkdisplay: Document get_monitor_at_surface can return NULL Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5075 --- diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c index be5e2f5ff1..ad5d6772b7 100644 --- a/gdk/gdkdisplay.c +++ b/gdk/gdkdisplay.c @@ -2013,7 +2013,7 @@ gdk_display_get_monitors (GdkDisplay *self) * Returns a monitor close to @surface if it is outside * of all monitors. * - * Returns: (transfer none): the monitor with the largest + * Returns: (transfer none) (nullable): the monitor with the largest * overlap with @surface */ GdkMonitor *