gdkdisplay: Document get_monitor_at_surface can return NULL

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5075
This commit is contained in:
Ondřej Míchal 2022-08-01 12:52:30 +02:00
parent 9bce70ed8d
commit 818ca63d35

View File

@ -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 *