diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2009-01-20 02:27:57 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2009-01-20 02:27:57 +0000 |
commit | c98305ac003eb3781810d29e2d1f72c1d18e69bf (patch) | |
tree | 81e784fdba5a928f556d48e30ef5612ff816419f /gdk | |
parent | 4d9df738e501c66cc0ecb8e9841f82d8a3ae6b81 (diff) | |
download | gtk+-c98305ac003eb3781810d29e2d1f72c1d18e69bf.tar.gz |
Update docs on blank cursors
svn path=/trunk/; revision=22147
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdkcursor.c | 3 | ||||
-rw-r--r-- | gdk/gdkwindow.c | 11 |
2 files changed, 6 insertions, 8 deletions
diff --git a/gdk/gdkcursor.c b/gdk/gdkcursor.c index bdd0feb6d4..a3677e9f8f 100644 --- a/gdk/gdkcursor.c +++ b/gdk/gdkcursor.c @@ -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 **/ diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index 40dc2b12ed..6b06a4cd42 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -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, |