mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
window: Remove the legacy get_outer_rect
It's unused in gnome-shell, and we don't care about compatibility in the API. Don't expose it.
This commit is contained in:
parent
d628cce058
commit
0bc6cb2aeb
@ -549,7 +549,6 @@ meta_window_is_skip_taskbar
|
||||
meta_window_get_rect
|
||||
meta_window_get_buffer_rect
|
||||
meta_window_get_frame_rect
|
||||
meta_window_get_outer_rect
|
||||
meta_window_client_rect_to_frame_rect
|
||||
meta_window_frame_rect_to_client_rect
|
||||
meta_window_get_screen
|
||||
|
@ -4135,25 +4135,6 @@ meta_window_get_frame_rect (const MetaWindow *window,
|
||||
*rect = window->rect;
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_window_get_outer_rect:
|
||||
* @window: a #MetaWindow
|
||||
* @rect: (out): pointer to an allocated #MetaRectangle
|
||||
*
|
||||
* Gets the rectangle that bounds @window that is what the user thinks of
|
||||
* as the edge of the window. This doesn't include any extra reactive
|
||||
* area that we or the client adds to the window, or any area that the
|
||||
* client adds to draw a client-side shadow.
|
||||
*
|
||||
* Deprecated: 3.12: Use meta_window_get_frame_rect() instead.
|
||||
*/
|
||||
void
|
||||
meta_window_get_outer_rect (const MetaWindow *window,
|
||||
MetaRectangle *rect)
|
||||
{
|
||||
meta_window_get_frame_rect (window, rect);
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_window_get_client_area_rect:
|
||||
* @window: a #MetaWindow
|
||||
|
@ -111,7 +111,6 @@ gboolean meta_window_is_skip_taskbar (MetaWindow *window);
|
||||
void meta_window_get_buffer_rect (const MetaWindow *window, MetaRectangle *rect);
|
||||
|
||||
void meta_window_get_frame_rect (const MetaWindow *window, MetaRectangle *rect);
|
||||
void meta_window_get_outer_rect (const MetaWindow *window, MetaRectangle *rect) G_GNUC_DEPRECATED;
|
||||
|
||||
void meta_window_client_rect_to_frame_rect (MetaWindow *window,
|
||||
MetaRectangle *client_rect,
|
||||
|
Loading…
Reference in New Issue
Block a user