From 1986b20499875fe9aff94ab5c01584e3312f621f Mon Sep 17 00:00:00 2001 From: Milan Bouchet-Valat Date: Mon, 22 Nov 2010 22:26:37 +0100 Subject: [PATCH] Add (out) annotation and documentation to meta_window_get_outer_rectangle() GObject introspection cannot detect that rect is an (out) parameter. Also add a meaningful documentation for humans like us. --- src/core/window.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/core/window.c b/src/core/window.c index 6c1045456..47d05ba86 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -4691,6 +4691,13 @@ meta_window_get_geometry (MetaWindow *window, window->size_hints.height_inc; } +/** + * meta_window_get_outer_rect: + * @window: a #MetaWindow + * @rect: (out): pointer to an allocated #MetaRectangle + * + * Gets the rectangle that bounds @window and, if decorated, its decorations. + */ void meta_window_get_outer_rect (const MetaWindow *window, MetaRectangle *rect)