Drop gdk_surface_get_root_origin

It was not used.
This commit is contained in:
Matthias Clasen 2019-03-24 23:15:01 -04:00
parent 8ee1620a2c
commit cb23d40d36
3 changed files with 0 additions and 31 deletions

View File

@ -261,7 +261,6 @@ gdk_surface_set_type_hint
gdk_surface_get_type_hint
gdk_surface_set_shadow_width
gdk_surface_get_position
gdk_surface_get_root_origin
gdk_surface_get_frame_extents
gdk_surface_get_origin
gdk_surface_get_device_position

View File

@ -3006,32 +3006,6 @@ gdk_surface_set_transient_for (GdkSurface *surface,
GDK_SURFACE_IMPL_GET_CLASS (surface->impl)->set_transient_for (surface, parent);
}
/**
* gdk_surface_get_root_origin:
* @surface: a toplevel #GdkSurface
* @x: (out): return location for X position of surface frame
* @y: (out): return location for Y position of surface frame
*
* Obtains the top-left corner of the window manager frame in root
* surface coordinates.
*
**/
void
gdk_surface_get_root_origin (GdkSurface *surface,
gint *x,
gint *y)
{
GdkRectangle rect;
gdk_surface_get_frame_extents (surface, &rect);
if (x)
*x = rect.x;
if (y)
*y = rect.y;
}
/**
* gdk_surface_get_frame_extents:
* @surface: a toplevel #GdkSurface

View File

@ -597,10 +597,6 @@ gint gdk_surface_get_origin (GdkSurface *surface,
gint *x,
gint *y);
GDK_AVAILABLE_IN_ALL
void gdk_surface_get_root_origin (GdkSurface *surface,
gint *x,
gint *y);
GDK_AVAILABLE_IN_ALL
void gdk_surface_get_frame_extents (GdkSurface *surface,
GdkRectangle *rect);