[libwnck] introspection: Add missing annotations



commit 4466c8ea5ceefe099deb665271ad202177a3fe86
Author: Vincent Untz <vuntz gnome org>
Date:   Thu Jan 20 00:54:22 2011 +0100

    introspection: Add missing annotations

 libwnck/window.c    |    6 ++++--
 libwnck/workspace.c |   12 ++++++------
 2 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/libwnck/window.c b/libwnck/window.c
index ca98a53..11e37a5 100644
--- a/libwnck/window.c
+++ b/libwnck/window.c
@@ -746,8 +746,10 @@ wnck_window_get_application  (WnckWindow *window)
  *
  * Gets the #WnckWindow for which @window is transient.
  *
- * Return value: the #WnckWindow for which @window is transient, or %NULL if
- * @window is not transient for any #WnckWindow.
+ * Return value: (transfer none): the #WnckWindow for which @window is
+ * transient, or %NULL if @window is not transient for any #WnckWindow.
+ * The returned #WnckWindow is owned by libwnck and must not be referenced or
+ * unreferenced.
  *
  * Since: 2.12
  **/
diff --git a/libwnck/workspace.c b/libwnck/workspace.c
index 4d329cd..3ea6630 100644
--- a/libwnck/workspace.c
+++ b/libwnck/workspace.c
@@ -206,8 +206,8 @@ wnck_workspace_change_name (WnckWorkspace *space,
  *
  * Gets the #WnckScreen @space is on.
  *
- * Return value: the #WnckScreen @space is on. The returned #WnckScreen is
- * owned by libwnck and must not be referenced or unreferenced.
+ * Return value: (transfer none): the #WnckScreen @space is on. The returned
+ * #WnckScreen is owned by libwnck and must not be referenced or unreferenced.
  **/
 WnckScreen*
 wnck_workspace_get_screen (WnckWorkspace *space)
@@ -510,10 +510,10 @@ wnck_workspace_get_layout_column (WnckWorkspace *space)
  *
  * Gets the neighbor #WnckWorkspace of @space in the @direction direction.
  *
- * Return value: the neighbor #WnckWorkspace of @space in the @direction
- * direction, or %NULL if no such neighbor #WnckWorkspace exists. The returned
- * #WnckWorkspace is owned by libwnck and must not be referenced or
- * unreferenced.
+ * Return value: (transfer none): the neighbor #WnckWorkspace of @space in the
+ * @direction direction, or %NULL if no such neighbor #WnckWorkspace exists.
+ * The returned #WnckWorkspace is owned by libwnck and must not be referenced
+ * or unreferenced.
  *
  * Since: 2.20
  **/



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