summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-06-11 07:52:30 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-06-11 07:52:30 -0400
commita08fbfa58692fbadb5276dc2a425223d5d95bafe (patch)
tree8ff47eabf8690e9968fe376bed603df53090cfe9 /docs
parentd29f57fd1ddfc5c811e4264563ce5e29f0889cbf (diff)
downloadgtk+-a08fbfa58692fbadb5276dc2a425223d5d95bafe.tar.gz
docs: Fix a typo in the migration guide
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/gtk/migrating-3to4.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/reference/gtk/migrating-3to4.md b/docs/reference/gtk/migrating-3to4.md
index 0ffe95a8b5..ff2337e18f 100644
--- a/docs/reference/gtk/migrating-3to4.md
+++ b/docs/reference/gtk/migrating-3to4.md
@@ -133,7 +133,7 @@ or `gtk_style_context_get_color()` only accept the context's current
state for their state argument. You should update all callers to pass
the current state.
-### Stop using `gdk_pixbuf_get_from_window()` and `gdk_cairo_set_source_surface()`
+### Stop using `gdk_pixbuf_get_from_window()` and `gdk_cairo_set_source_window()`
These functions are not supported in GTK 4. Instead, either use
backend-specific APIs, or render your widgets using