Commit 618d15e9 authored by Javier Jardón's avatar Javier Jardón

Remove deprecated gdk_window_get_toplevels() function

parent dc83131c
......@@ -735,7 +735,6 @@ gdk_window_get_decorations
GdkWMDecoration
gdk_window_set_functions
GdkWMFunction
gdk_window_get_toplevels
gdk_get_default_root_window
<SUBSECTION>
......
......@@ -687,9 +687,6 @@ gdk_window_get_position
gdk_window_get_state
gdk_window_get_toplevel
gdk_window_get_effective_toplevel
#ifndef GDK_DISABLE_DEPRECATED
gdk_window_get_toplevels
#endif
gdk_window_get_update_area
gdk_window_get_user_data
gdk_window_get_window_type
......
......@@ -2669,27 +2669,6 @@ gdk_screen_get_toplevel_windows (GdkScreen *screen)
return new_list;
}
/**
* gdk_window_get_toplevels:
*
* Obtains a list of all toplevel windows known to GDK on the default
* screen (see gdk_screen_get_toplevel_windows()).
* A toplevel window is a child of the root window (see
* gdk_get_default_root_window()).
*
* The returned list should be freed with g_list_free(), but
* its elements need not be freed.
*
* Return value: list of toplevel windows, free with g_list_free()
*
* Deprecated: 2.16: Use gdk_screen_get_toplevel_windows() instead.
*/
GList *
gdk_window_get_toplevels (void)
{
return gdk_screen_get_toplevel_windows (gdk_screen_get_default ());
}
/**
* gdk_window_is_visible:
* @window: a #GdkWindow
......
......@@ -824,9 +824,6 @@ gboolean gdk_window_get_decorations (GdkWindow *window,
GdkWMDecoration *decorations);
void gdk_window_set_functions (GdkWindow *window,
GdkWMFunction functions);
#if !defined(GDK_MULTIHEAD_SAFE) && !defined(GDK_DISABLE_DEPRECATED)
GList * gdk_window_get_toplevels (void);
#endif
void gdk_window_beep (GdkWindow *window);
void gdk_window_iconify (GdkWindow *window);
......
......@@ -804,7 +804,7 @@ _gdk_quartz_window_did_resign_main (GdkWindow *window)
{
GList *toplevels;
toplevels = gdk_window_get_toplevels ();
toplevels = gdk_screen_get_toplevel_windows (gdk_screen_get_default ());
if (toplevels)
new_window = toplevels->data;
g_list_free (toplevels);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment