[gtk+] Add a couple of missing transfer annotations



commit 6ba904486ce6f3c2e6f8d95288c9b66ce29f4ce3
Author: Johan Dahlin <johan gnome org>
Date:   Mon Sep 20 23:45:01 2010 -0300

    Add a couple of missing transfer annotations

 gdk/gdkwindow.c         |    8 ++++----
 gdk/x11/gdkwindow-x11.c |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index a1f89f7..339a935 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -2352,7 +2352,7 @@ gdk_window_get_position (GdkWindow *window,
  * gdk_window_get_parent() will most likely not do what you expect if
  * there are offscreen windows in the hierarchy.
  *
- * Return value: parent of @window
+ * Return value: (transfer none): parent of @window
  **/
 GdkWindow*
 gdk_window_get_parent (GdkWindow *window)
@@ -2372,7 +2372,7 @@ gdk_window_get_parent (GdkWindow *window)
  *
  * See also: gdk_offscreen_window_get_embedder()
  *
- * Return value: effective parent of @window
+ * Return value: (transfer none): effective parent of @window
  *
  * Since: 2.22
  **/
@@ -2406,7 +2406,7 @@ gdk_window_get_effective_parent (GdkWindow *window)
  * gdk_window_get_toplevel() will most likely not do what you expect
  * if there are offscreen windows in the hierarchy.
  *
- * Return value: the toplevel window containing @window
+ * Return value: (transfer none): the toplevel window containing @window
  **/
 GdkWindow *
 gdk_window_get_toplevel (GdkWindow *window)
@@ -2438,7 +2438,7 @@ gdk_window_get_toplevel (GdkWindow *window)
  *
  * See also: gdk_offscreen_window_get_embedder()
  *
- * Return value: the effective toplevel window containing @window
+ * Return value: (transfer none): the effective toplevel window containing @window
  *
  * Since: 2.22
  **/
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 69944d8..3c41e04 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -4238,7 +4238,7 @@ gdk_window_set_keep_below (GdkWindow *window, gboolean setting)
  * 
  * Returns the group leader window for @window. See gdk_window_set_group().
  * 
- * Return value: the group leader window for @window
+ * Return value: (transfer none): the group leader window for @window
  *
  * Since: 2.4
  **/



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