[mutter] introspection: Annotate meta_window_get_rect()



commit f75e96cd3c1247255bef8fbf6141f0f21020ac0f
Author: Jeff Olson <olson jeffery gmail com>
Date:   Sat Feb 26 09:39:57 2011 -0800

    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 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 163a9cd..945920e 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)
 {



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