summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-11-29 20:14:53 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-11-29 20:14:53 -0500
commit7217689e0280109340ed3a94b870cd1cdc412d8a (patch)
treee21f391a2b7041375eebc8730dc4d4791a83fe08
parent1fcfff68612633466d526bf8295ae33ab04351e0 (diff)
downloadgtk+-7217689e0280109340ed3a94b870cd1cdc412d8a.tar.gz
docs: Remove mentions of gdk_cursor_new_from_pixbuf
This function is going away.
-rw-r--r--gdk/gdkwindow.c4
-rw-r--r--gdk/win32/gdkdisplay-win32.c2
-rw-r--r--gdk/x11/gdkcursor-x11.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 31ff1e4ea0..ec1bb02102 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 c7fbcb32ea..0753d5f4f8 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 9033d1fc8b..7faea3f2fa 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).