[gtk+] docs: Remove mentions of gdk_cursor_new_from_pixbuf



commit 7217689e0280109340ed3a94b870cd1cdc412d8a
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Nov 29 20:14:53 2017 -0500

    docs: Remove mentions of gdk_cursor_new_from_pixbuf
    
    This function is going away.

 gdk/gdkwindow.c              |    4 ++--
 gdk/win32/gdkdisplay-win32.c |    2 +-
 gdk/x11/gdkcursor-x11.c      |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 31ff1e4..ec1bb02 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -4281,7 +4281,7 @@ gdk_window_get_cursor (GdkWindow *window)
  *
  * Note that @cursor must be for the same display as @window.
  *
- * Use gdk_cursor_new_for_display() or gdk_cursor_new_from_pixbuf() to
+ * Use gdk_cursor_new_for_display() or gdk_cursor_new_from_texture() 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
@@ -4370,7 +4370,7 @@ gdk_window_get_device_cursor (GdkWindow *window,
  * @cursor: a #GdkCursor
  *
  * Sets a specific #GdkCursor for a given device when it gets inside @window.
- * Use gdk_cursor_new_for_display() or gdk_cursor_new_from_pixbuf() to create
+ * Use gdk_cursor_new_for_display() or gdk_cursor_new_from_texture() 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
diff --git a/gdk/win32/gdkdisplay-win32.c b/gdk/win32/gdkdisplay-win32.c
index c7fbcb3..0753d5f 100644
--- a/gdk/win32/gdkdisplay-win32.c
+++ b/gdk/win32/gdkdisplay-win32.c
@@ -253,7 +253,7 @@ _gdk_win32_display_init_monitors (GdkWin32Display *win32_display)
  * with gdk_cursor_new(), gdk_cursor_new_for_display() and
  * gdk_cursor_new_from_name() are updated to reflect the theme
  * change. Custom cursors constructed with
- * gdk_cursor_new_from_pixbuf() will have to be handled
+ * gdk_cursor_new_from_texture() will have to be handled
  * by the application (GTK+ applications can learn about
  * cursor theme changes by listening for change notification
  * for the corresponding #GtkSetting).
diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c
index 9033d1f..7faea3f 100644
--- a/gdk/x11/gdkcursor-x11.c
+++ b/gdk/x11/gdkcursor-x11.c
@@ -326,7 +326,7 @@ _gdk_x11_display_get_maximal_cursor_size (GdkDisplay *display,
  * with gdk_cursor_new(), gdk_cursor_new_for_display() and
  * gdk_cursor_new_from_name() are updated to reflect the theme
  * change. Custom cursors constructed with
- * gdk_cursor_new_from_pixbuf() will have to be handled
+ * gdk_cursor_new_from_texture() will have to be handled
  * by the application (GTK+ applications can learn about
  * cursor theme changes by listening for change notification
  * for the corresponding #GtkSetting).


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