diff --git a/demos/widget-factory/meson.build b/demos/widget-factory/meson.build index 184a8abbb4..9ce9cc2213 100644 --- a/demos/widget-factory/meson.build +++ b/demos/widget-factory/meson.build @@ -9,6 +9,13 @@ widgetfactory_resources = gnome.compile_resources( source_dir: '.' ) +foreach s: [ '16', '22', '24', '32', '48', '256'] + icon_destdir = join_paths(gtk_datadir, 'icons', 'hicolor', '@0@x@0@'.format(s), 'apps') + icons = [join_paths('data', '@0@x@0@'.format(s), 'gtk3-widget-factory.png'), + join_paths('data', '@0@x@0@'.format(s), 'gtk3-widget-factory-symbolic.symbolic.png')] + install_data(icons, install_dir: icon_destdir) +endforeach + widget_factory = executable( 'gtk3-widget-factory', widgetfactory_sources,