[mutter] Add (out) annotation and documentation to meta_window_get_outer_rectangle()



commit 1986b20499875fe9aff94ab5c01584e3312f621f
Author: Milan Bouchet-Valat <nalimilan club fr>
Date:   Mon Nov 22 22:26:37 2010 +0100

    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 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 6c10454..47d05ba 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)



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