[gtk+] GdkMonitor: Fix link to nonexistent Display method



commit e99992669c88381dd0fa728a2531932790c30f75
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 536e891..6ae8696 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().
  */
 


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