display-x11: don't mention gdk_monitor_is_primary in the docs

https://gitlab.gnome.org/GNOME/gtk/merge_requests/1371#note_699272
This commit is contained in:
Alberts Muktupāvels 2020-02-02 19:12:08 +02:00
parent 621120d1d3
commit 66af531ff3
2 changed files with 1 additions and 3 deletions

View File

@ -1128,7 +1128,6 @@ gdk_monitor_get_scale_factor
gdk_monitor_get_refresh_rate
GdkSubpixelLayout
gdk_monitor_get_subpixel_layout
gdk_monitor_is_primary
gdk_monitor_is_valid
<SUBSECTION Standard>

View File

@ -2968,8 +2968,7 @@ gdk_x11_display_get_monitor (GdkDisplay *display,
* such as panels should place themselves on the primary monitor.
*
* If no monitor is the designated primary monitor, any monitor
* (usually the first) may be returned. To make sure there is a dedicated
* primary monitor, use gdk_monitor_is_primary() on the returned monitor.
* (usually the first) may be returned.
*
* Returns: (transfer none): the primary monitor, or any monitor if no
* primary monitor is configured by the user