Index: gdk/gdkwindow.c
===================================================================
--- gdk/gdkwindow.c	(Revision 20477)
+++ gdk/gdkwindow.c	(Arbeitskopie)
@@ -941,6 +941,8 @@ gdk_screen_get_toplevel_windows (GdkScre
  * its elements need not be freed.
  * 
  * Return value: list of toplevel windows, free with g_list_free()
+ *
+ * Deprecated:2.14: use gdk_screen_get_toplevels() instead.
  **/
 GList *
 gdk_window_get_toplevels (void)
Index: gdk/gdkwindow.h
===================================================================
--- gdk/gdkwindow.h	(Revision 20477)
+++ gdk/gdkwindow.h	(Arbeitskopie)
@@ -565,7 +565,7 @@ gboolean      gdk_window_get_decorations
 					  GdkWMDecoration *decorations);
 void	      gdk_window_set_functions	 (GdkWindow	  *window,
 					  GdkWMFunction	   functions);
-#ifndef GDK_MULTIHEAD_SAFE
+#if !defined(GDK_MULTIHEAD_SAFE) && !defined(GDK_DISABLE_DEPRECATED)
 GList *       gdk_window_get_toplevels   (void);
 #endif
 
