[mutter] window: Remove the legacy get_outer_rect



commit 0bc6cb2aebc128ab117f41b1db6f15bf4bcb8a6e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Mar 8 20:37:49 2015 -0700

    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, 0 insertions(+), 21 deletions(-)
---
diff --git a/doc/reference/meta-sections.txt b/doc/reference/meta-sections.txt
index 515c3e4..050a8ba 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 3e80dc8..bacb9ef 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 60eaef3..60c9997 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]