]> Pileus Git - ~andy/gtk/commitdiff
Update docs on blank cursors
authorMatthias Clasen <matthiasc@src.gnome.org>
Tue, 20 Jan 2009 02:27:57 +0000 (02:27 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 20 Jan 2009 02:27:57 +0000 (02:27 +0000)
svn path=/trunk/; revision=22147

ChangeLog
gdk/gdkcursor.c
gdk/gdkwindow.c

index 503535ebd51a5ed6a2d61ea296c57ba91ce2f9e3..487439c72e7c066b24c30d9df7e3d90b285a6b7b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-19  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/gdkcursor.c:
+       * gdk/gdkwindow.c: Update docs on how to create blank cursors.
+
 2009-01-19  Matthias Clasen  <mclasen@redhat.com>
 
        Cache cursors to avoid libXcursor theme lookup overhead.
index bdd0feb6d45907864db7b7177f4dc2c413e4cbbc..a3677e9f8f1eb1291170c5220d604e91d5a4b4a9 100644 (file)
@@ -88,8 +88,7 @@ gdk_cursor_unref (GdkCursor *cursor)
  * Creates a new cursor from the set of builtin cursors for the default display.
  * See gdk_cursor_new_for_display().
  *
- * To make the cursor invisible, use gdk_cursor_new_from_pixmap() to create
- * a cursor with no pixels in it.
+ * To make the cursor invisible, use %GDK_BLANK_CURSOR.
  * 
  * Return value: a new #GdkCursor
  **/
index 40dc2b12ed3433b5a6b6a4ec711e385a360905f6..6b06a4cd4253dbf6ca82a4e51c79a1e8e012a737 100644 (file)
@@ -3859,12 +3859,11 @@ gdk_window_set_back_pixmap (GdkWindow *window,
  * @window: a #GdkWindow
  * @cursor: a cursor
  *
- * Sets the mouse pointer for a #GdkWindow. Use gdk_cursor_new() or
- * gdk_cursor_new_from_pixmap() to create the cursor.
- * To make the cursor invisible, use gdk_cursor_new_from_pixmap() to create
- * a cursor with no pixels in it. Passing %NULL for the @cursor argument
- * to gdk_window_set_cursor() means that @window will use the cursor of
- * its parent window. Most windows should use this default.
+ * Sets the mouse pointer for a #GdkWindow. Use gdk_cursor_new_for_display() 
+ * or gdk_cursor_new_from_pixmap() to create the cursor. To make the cursor 
+ * invisible, use %GDK_BLANK_CURSOR. Passing %NULL for the @cursor argument 
+ * to gdk_window_set_cursor() means that @window will use the cursor of its 
+ * parent window. Most windows should use this default.
  */
 void
 gdk_window_set_cursor (GdkWindow *window,