diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c index 90db5fde50..ff9df272de 100644 --- a/gtk/gtkcssprovider.c +++ b/gtk/gtkcssprovider.c @@ -52,23 +52,24 @@ * GtkCssProvider is an object implementing the #GtkStyleProvider interface. * It is able to parse [CSS-like][css-overview] input in order to style widgets. * - * An application can make GTK+ parse a specific CSS style sheet by calling + * An application can make GTK parse a specific CSS style sheet by calling * gtk_css_provider_load_from_file() or gtk_css_provider_load_from_resource() * and adding the provider with gtk_style_context_add_provider() or * gtk_style_context_add_provider_for_display(). - * In addition, certain files will be read when GTK+ is initialized. First, the - * file `$XDG_CONFIG_HOME/gtk-4.0/gtk.css` is loaded if it exists. Then, GTK+ + * In addition, certain files will be read when GTK is initialized. First, the + * file `$XDG_CONFIG_HOME/gtk-4.0/gtk.css` is loaded if it exists. Then, GTK * loads the first existing file among * `XDG_DATA_HOME/themes/THEME/gtk-VERSION/gtk-VARIANT.css`, * `$HOME/.themes/THEME/gtk-VERSION/gtk-VARIANT.css`, * `$XDG_DATA_DIRS/themes/THEME/gtk-VERSION/gtk-VARIANT.css` and - * `DATADIR/share/themes/THEME/gtk-VERSION/gtk-VARIANT.css`, where `THEME` is the name of - * the current theme (see the #GtkSettings:gtk-theme-name setting), - * VARIANT is the variant to load (see the #GtkSettings:gtk-application-prefer-dark-theme setting), `DATADIR` - * is the prefix configured when GTK+ was compiled (unless overridden by the - * `GTK_DATA_PREFIX` environment variable), and `VERSION` is the GTK+ version number. - * If no file is found for the current version, GTK+ tries older versions all the + * `DATADIR/share/themes/THEME/gtk-VERSION/gtk-VARIANT.css`, + * where `THEME` is the name of the current theme (see the #GtkSettings:gtk-theme-name + * setting), VARIANT is the variant to load (see the + * #GtkSettings:gtk-application-prefer-dark-theme setting), `DATADIR` + * is the prefix configured when GTK was compiled (unless overridden by the + * `GTK_DATA_PREFIX` environment variable), and `VERSION` is the GTK version number. + * If no file is found for the current version, GTK tries older versions all the * way back to 4.0. */