Merge branch 'gdk-display-get-monitor-is-nullable' into 'main'

gdkdisplay: Document get_monitor_at_surface can return NULL

Closes #5075

See merge request GNOME/gtk!4917
This commit is contained in:
Matthias Clasen 2023-01-07 20:39:04 +00:00
commit a4c2f19155

View File

@ -2018,7 +2018,7 @@ gdk_display_get_monitors (GdkDisplay *self)
* Returns a monitor close to @surface if it is outside * Returns a monitor close to @surface if it is outside
* of all monitors. * of all monitors.
* *
* Returns: (transfer none): the monitor with the largest * Returns: (transfer none) (nullable): the monitor with the largest
* overlap with @surface * overlap with @surface
*/ */
GdkMonitor * GdkMonitor *