gtk+ r22147 - in trunk: . gdk
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r22147 - in trunk: . gdk
- Date: Tue, 20 Jan 2009 02:27:58 +0000 (UTC)
Author: matthiasc
Date: Tue Jan 20 02:27:57 2009
New Revision: 22147
URL: http://svn.gnome.org/viewvc/gtk+?rev=22147&view=rev
Log:
Update docs on blank cursors
Modified:
trunk/ChangeLog
trunk/gdk/gdkcursor.c
trunk/gdk/gdkwindow.c
Modified: trunk/gdk/gdkcursor.c
==============================================================================
--- trunk/gdk/gdkcursor.c (original)
+++ trunk/gdk/gdkcursor.c Tue Jan 20 02:27:57 2009
@@ -88,8 +88,7 @@
* 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
**/
Modified: trunk/gdk/gdkwindow.c
==============================================================================
--- trunk/gdk/gdkwindow.c (original)
+++ trunk/gdk/gdkwindow.c Tue Jan 20 02:27:57 2009
@@ -3859,12 +3859,11 @@
* @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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]