diff options
author | Daniel Boles <dboles@src.gnome.org> | 2018-01-13 20:03:37 +0000 |
---|---|---|
committer | Daniel Boles <dboles@src.gnome.org> | 2018-01-13 20:06:39 +0000 |
commit | e99992669c88381dd0fa728a2531932790c30f75 (patch) | |
tree | 4f4d2721b07700e7c11ebeb3698546e770156ee5 | |
parent | db6127a11868c1e6bf84ee4f8f64cd3b590574ee (diff) | |
download | gtk+-e99992669c88381dd0fa728a2531932790c30f75.tar.gz |
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).
-rw-r--r-- | gdk/gdkmonitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkmonitor.c b/gdk/gdkmonitor.c index 536e891a83..6ae8696bc2 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(). */ |