[gtk/wip/muktupavels/update-documentation] display-x11: don't mention gdk_monitor_is_primary in the docs
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/muktupavels/update-documentation] display-x11: don't mention gdk_monitor_is_primary in the docs
- Date: Sun, 2 Feb 2020 17:24:36 +0000 (UTC)
commit 66af531ff33dffbcc0280be9f0dd10b7ff1a4926
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Feb 2 19:12:08 2020 +0200
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
<SUBSECTION Standard>
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]