From 66af531ff33dffbcc0280be9f0dd10b7ff1a4926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= Date: Sun, 2 Feb 2020 19:12:08 +0200 Subject: [PATCH] display-x11: don't mention gdk_monitor_is_primary in the docs https://gitlab.gnome.org/GNOME/gtk/merge_requests/1371#note_699272 --- docs/reference/gdk/gdk4-sections.txt | 1 - gdk/x11/gdkdisplay-x11.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt index 35083c136a..0a4d80ba6c 100644 --- a/docs/reference/gdk/gdk4-sections.txt +++ b/docs/reference/gdk/gdk4-sections.txt @@ -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 diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c index b758d197e5..d270929cf0 100644 --- a/gdk/x11/gdkdisplay-x11.c +++ b/gdk/x11/gdkdisplay-x11.c @@ -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