From e7f55d8706919ade7693d871c633e64d79febd1c Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Mon, 12 Feb 2024 21:28:24 +0000 Subject: [PATCH] CSSProvider: Mention non-deprecated fn @ to_string load_from_data() is deprecated, so don't cite it in to_string(); rather, mention load_from_string() instead. --- gtk/gtkcssprovider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c index 29e88258a7..52484887ab 100644 --- a/gtk/gtkcssprovider.c +++ b/gtk/gtkcssprovider.c @@ -1568,7 +1568,7 @@ gtk_css_provider_print_keyframes (GHashTable *keyframes, * Converts the @provider into a string representation in CSS * format. * - * Using [method@Gtk.CssProvider.load_from_data] with the return + * Using [method@Gtk.CssProvider.load_from_string] with the return * value from this function on a new provider created with * [ctor@Gtk.CssProvider.new] will basically create a duplicate * of this @provider.