[gtk+/gtk-3-22] GdkMonitor: Fix link to nonexistent Display method



commit bcd3c42b92cc9a584da366434f6f385545d1fa27
Author: Daniel Boles <dboles src gnome org>
Date:   Sat Jan 13 20:03:37 2018 +0000

    GdkMonitor: Fix link to nonexistent Display method
    
    There is no gdk_display_get_monitors(). Instead, we have to use
    gdk_display_get_n_monitors() and gdk_display_get_monitor(int).

 gdk/gdkmonitor.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkmonitor.c b/gdk/gdkmonitor.c
index d7fb64c..bf69a19 100644
--- a/gdk/gdkmonitor.c
+++ b/gdk/gdkmonitor.c
@@ -32,8 +32,8 @@
  *
  * GdkMonitor objects represent the individual outputs that are
  * associated with a #GdkDisplay. GdkDisplay has APIs to enumerate
- * monitors with gdk_display_get_monitors() and to find particular
- * monitors with gdk_display_get_primary_monitor() or
+ * monitors with gdk_display_get_n_monitors() and gdk_display_get_monitor(), and
+ * to find particular monitors with gdk_display_get_primary_monitor() or
  * gdk_display_get_monitor_at_window().
  *
  * GdkMonitor was introduced in GTK+ 3.22 and supersedes earlier


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]