Drop gdk_surface_is_visible

It has been replaced by gdk_surface_get_mapped.
This commit is contained in:
Matthias Clasen 2020-02-24 19:03:49 -05:00
parent 7a39f2d49d
commit 6fb50ccd0d
3 changed files with 0 additions and 20 deletions

View File

@ -185,7 +185,6 @@ gdk_surface_show
gdk_surface_show_unraised
gdk_surface_hide
gdk_surface_is_destroyed
gdk_surface_is_visible
gdk_surface_is_viewable
gdk_surface_get_mapped
gdk_surface_get_state

View File

@ -1040,23 +1040,6 @@ gdk_surface_get_mapped (GdkSurface *surface)
return GDK_SURFACE_IS_MAPPED (surface);
}
/**
* gdk_surface_is_visible:
* @surface: a #GdkSurface
*
* Checks whether the surface has been mapped (with gdk_surface_show() or
* gdk_surface_show_unraised()).
*
* Returns: %TRUE if the surface is mapped
**/
gboolean
gdk_surface_is_visible (GdkSurface *surface)
{
g_return_val_if_fail (GDK_IS_SURFACE (surface), FALSE);
return GDK_SURFACE_IS_MAPPED (surface);
}
/**
* gdk_surface_is_viewable:
* @surface: a #GdkSurface

View File

@ -403,8 +403,6 @@ void gdk_surface_input_shape_combine_region (GdkSurface *surface,
gint offset_x,
gint offset_y);
GDK_AVAILABLE_IN_ALL
gboolean gdk_surface_is_visible (GdkSurface *surface);
GDK_AVAILABLE_IN_ALL
gboolean gdk_surface_is_viewable (GdkSurface *surface);