From f75e96cd3c1247255bef8fbf6141f0f21020ac0f Mon Sep 17 00:00:00 2001 From: Jeff Olson Date: Sat, 26 Feb 2011 09:39:57 -0800 Subject: [PATCH] introspection: Annotate meta_window_get_rect() g-ir-scanner assumes (transfer full) for boxeds, and doesn't warn on missing annotations here. https://bugzilla.gnome.org/show_bug.cgi?id=643194 --- src/core/window.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/core/window.c b/src/core/window.c index 163a9cde7..945920e88 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -9459,6 +9459,14 @@ meta_window_is_skip_taskbar (MetaWindow *window) return window->skip_taskbar; } +/** + * meta_window_get_rect: + * @window: a #MetaWindow + * + * Gets the rectangle that bounds @window, ignoring any window decorations. + * + * Return value: (transfer none): the #MetaRectangle for the window + */ MetaRectangle * meta_window_get_rect (MetaWindow *window) {