diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2015-03-08 20:37:49 -0700 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2015-03-08 20:38:30 -0700 |
commit | 0bc6cb2aebc128ab117f41b1db6f15bf4bcb8a6e (patch) | |
tree | 8b4fdd00312e15d80406ac0b4456659aa834fbe1 | |
parent | d628cce058f861fcdf2cd3196a010e4b2429e0a4 (diff) |
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.
-rw-r--r-- | doc/reference/meta-sections.txt | 1 | ||||
-rw-r--r-- | src/core/window.c | 19 | ||||
-rw-r--r-- | src/meta/window.h | 1 |
3 files changed, 0 insertions, 21 deletions
diff --git a/doc/reference/meta-sections.txt b/doc/reference/meta-sections.txt index 515c3e47..050a8ba5 100644 --- a/doc/reference/meta-sections.txt +++ b/doc/reference/meta-sections.txt @@ -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 diff --git a/src/core/window.c b/src/core/window.c index 3e80dc8a..bacb9ef8 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -4136,25 +4136,6 @@ meta_window_get_frame_rect (const MetaWindow *window, } /** - * 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 * @rect: (out): pointer to a cairo rectangle diff --git a/src/meta/window.h b/src/meta/window.h index 60eaef38..60c9997d 100644 --- a/src/meta/window.h +++ b/src/meta/window.h @@ -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, |