]> Pileus Git - ~andy/gtk/commitdiff
Fix gdk_window_get_cursor() documentation
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 30 Jul 2009 10:10:45 +0000 (11:10 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 30 Jul 2009 10:12:27 +0000 (11:12 +0100)
The 'Return value' annotation is missing from the documentation
of gdk_window_get_cursor().

gdk/gdkwindow.c

index 6db8cf17f0d5b2f6de4fef930a0d626bdb4f196f..7a000aaed3e3cc7e876da5cd1867d154b29f216a 100644 (file)
@@ -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 *