From 0bc6cb2aebc128ab117f41b1db6f15bf4bcb8a6e Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 8 Mar 2015 20:37:49 -0700 Subject: [PATCH] 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. --- doc/reference/meta-sections.txt | 1 - src/core/window.c | 19 ------------------- src/meta/window.h | 1 - 3 files changed, 21 deletions(-) diff --git a/doc/reference/meta-sections.txt b/doc/reference/meta-sections.txt index 515c3e471..050a8ba5f 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 3e80dc8a1..bacb9ef8d 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -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 diff --git a/src/meta/window.h b/src/meta/window.h index 60eaef38b..60c9997da 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,