st: Introspect StIconTheme

StIconTheme was added as a private implementation detail of
StTextureCache, but it turns out that some extensions do
make heavy use of GtkIconTheme.

Allow them to port away from GTK by exposing StIconTheme to
introspection.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2671>
This commit is contained in:
Florian Müllner 2023-03-04 20:23:19 +01:00 committed by Marge Bot
parent 72020f8968
commit 67facb8975

View File

@ -12,6 +12,7 @@ st_headers = [
'st-generic-accessible.h', 'st-generic-accessible.h',
'st-icon.h', 'st-icon.h',
'st-icon-colors.h', 'st-icon-colors.h',
'st-icon-theme.h',
'st-image-content.h', 'st-image-content.h',
'st-label.h', 'st-label.h',
'st-password-entry.h', 'st-password-entry.h',
@ -214,7 +215,7 @@ libst_gir = gnome.generate_gir(libst,
nsversion: '1.0', nsversion: '1.0',
namespace: 'St', namespace: 'St',
includes: ['Clutter-' + mutter_api_version, 'Cally-' + mutter_api_version, 'Meta-' + mutter_api_version], includes: ['Clutter-' + mutter_api_version, 'Cally-' + mutter_api_version, 'Meta-' + mutter_api_version],
dependencies: [mutter_dep], dependencies: [mutter_dep, gdk_pixbuf_dep],
include_directories: include_directories('..'), include_directories: include_directories('..'),
extra_args: ['-DST_COMPILATION', '--quiet'], extra_args: ['-DST_COMPILATION', '--quiet'],
install_dir_gir: pkgdatadir, install_dir_gir: pkgdatadir,