summaryrefslogtreecommitdiff
path: root/gdk/gdkdisplay.c
diff options
context:
space:
mode:
authorOndřej Míchal <harrymichal@seznam.cz>2022-08-01 12:52:30 +0200
committerOndřej Míchal <harrymichal@seznam.cz>2022-08-01 12:54:13 +0200
commit818ca63d35254d43632552261b4d3891520f2c82 (patch)
tree01ae77ad429fda74cb788e81cb179318cc0da56c /gdk/gdkdisplay.c
parent9bce70ed8df19d078384a9dea68fef6628c1a7e0 (diff)
downloadgtk+-818ca63d35254d43632552261b4d3891520f2c82.tar.gz
gdkdisplay: Document get_monitor_at_surface can return NULL
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5075
Diffstat (limited to 'gdk/gdkdisplay.c')
-rw-r--r--gdk/gdkdisplay.c2
1 files changed, 1 insertions, 1 deletions
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 *