GTK warning when using pacman-mirrors

sudo pacman-mirrors -i -c China -m rank
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: http://repo.manjaro.org/status.json
::INFO Using custom mirror file
::INFO Querying mirrors - This may take some time
  0.424 China          : https://mirrors.sjtug.sjtu.edu.cn/manjaro/

(pacman-mirrors:3171): Gtk-WARNING **: 10:38:00.860: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(pacman-mirrors:3171): Gtk-WARNING **: 10:38:00.860: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(pacman-mirrors:3171): Gtk-WARNING **: 10:38:00.861: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version

Does it mean that some features of GTK is deprecated and the code should be updated?

These are common warnings in many GTK application (because you use -i → interactive mode, it opens the GTK graphical interface to select your mirrors). But it probably means that maintainer of pacman-mirrors should update the code at some point in time to respect coding rules for GTK.

1 Like

I don’t think so as gtk.css is not part of pacman-mirrors but installed themes. Listing from a KDE installation:

$ find / -xdev -name gtk.css
/usr/share/themes/Breath-Dark/gtk-3.0/gtk.css
/usr/share/themes/Adwaita-dark/gtk-3.0/gtk.css
/usr/share/themes/Adwaita/gtk-3.0/gtk.css
/usr/share/themes/HighContrast/gtk-3.0/gtk.css
/usr/share/themes/Breath/gtk-3.0/gtk.css
1 Like

Ho yes it is a theme issue then.