From a08fbfa58692fbadb5276dc2a425223d5d95bafe Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 11 Jun 2021 07:52:30 -0400 Subject: [PATCH] docs: Fix a typo in the migration guide --- docs/reference/gtk/migrating-3to4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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