mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
Drop gdk_surface_get_root_origin
It was not used.
This commit is contained in:
parent
8ee1620a2c
commit
cb23d40d36
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user