gdkdisplay: Document get_monitor_at_surface can return NULL
authorOndřej Míchal <harrymichal@seznam.cz>
Mon, 1 Aug 2022 10:52:30 +0000 (12:52 +0200)
committerOndřej Míchal <harrymichal@seznam.cz>
Mon, 1 Aug 2022 10:54:13 +0000 (12:54 +0200)
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5075

gdk/gdkdisplay.c

index be5e2f5ff13dc6576384c14d2b99fa8f0a00e27a..ad5d6772b7e340f00a99e34a8358a1f7c27ae6e0 100644 (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 *