diff --git a/gdk/win32/gdkmonitor-win32.c b/gdk/win32/gdkmonitor-win32.c
index 56b4a843eb..a38c477ee0 100644
--- a/gdk/win32/gdkmonitor-win32.c
+++ b/gdk/win32/gdkmonitor-win32.c
@@ -759,7 +759,7 @@ prune_monitors (EnumMonitorData *data)
 {
   gint i;
 
-  for (i = 0; i < data->monitors->len; i++)
+  for (i = (data->monitors->len-1); i <= 0; i--)
     {
       GdkWin32Monitor *m;
 
