cssprovider: from_path takes a path

Annotate it as such so that bindings can expose that appropriately

Related: https://github.com/gtk-rs/gtk4-rs/issues/861
This commit is contained in:
Zander Brown 2022-02-02 22:47:39 +00:00
parent 82e0241c42
commit 6fbcb967a0

View File

@ -1146,7 +1146,7 @@ gtk_css_provider_load_from_file (GtkCssProvider *css_provider,
/**
* gtk_css_provider_load_from_path:
* @css_provider: a `GtkCssProvider`
* @path: the path of a filename to load, in the GLib filename encoding
* @path: (type filename): the path of a filename to load, in the GLib filename encoding
*
* Loads the data contained in @path into @css_provider.
*