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.
This commit is contained in:
Daniel Boles 2024-02-12 21:28:24 +00:00
parent 671756cb13
commit e7f55d8706

View File

@ -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.