display-x11: don't mention gdk_monitor_is_primary in the docs
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>
Sun, 2 Feb 2020 17:12:08 +0000 (19:12 +0200)
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>
Sun, 2 Feb 2020 17:18:22 +0000 (19:18 +0200)
https://gitlab.gnome.org/GNOME/gtk/merge_requests/1371#note_699272

docs/reference/gdk/gdk4-sections.txt
gdk/x11/gdkdisplay-x11.c

index 35083c136af0d0acfa4b5999d29729050db846e1..0a4d80ba6c89eacb376dd9de31cb433ef1786091 100644 (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>
index b758d197e5c540f67902ca345f53b9882d8d8b1b..d270929cf048833f776cd47edae5529b7dfbec69 100644 (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