[gtk+] Fix gdk_window_get_cursor() documentation



commit 6f0f5f8dc73611bfce9cf33ab19159fea0f8c5eb
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu Jul 30 11:10:45 2009 +0100

    Fix gdk_window_get_cursor() documentation
    
    The 'Return value' annotation is missing from the documentation
    of gdk_window_get_cursor().

 gdk/gdkwindow.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 6db8cf1..7a000aa 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -7023,6 +7023,10 @@ gdk_window_set_back_pixmap (GdkWindow *window,
  * there is no custom cursor set on the specified window, and it is
  * using the cursor for its parent window.
  *
+ * Return value: a #GdkCursor, or %NULL. The returned object is owned
+ *   by the #GdkWindow and should not be unreferenced directly. Use
+ *   gdk_window_set_cursor() to unset the cursor of the window
+ *
  * Since: 2.18
  */
 GdkCursor *



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