diff options
| author | Emmanuele Bassi <ebassi@gnome.org> | 2020-12-21 19:09:24 +0000 |
|---|---|---|
| committer | Emmanuele Bassi <ebassi@gnome.org> | 2020-12-21 19:09:24 +0000 |
| commit | f3ccb3a5f42b38a4d3e5628234eda077464aecff (patch) | |
| tree | 34ea22ab9899f315f958c094b61d2ddfa4e13143 | |
| parent | 933d241bbae6785c597798a2b804e57bf20301da (diff) | |
| download | gtk+-ebassi/issue-3486.tar.gz | |
build: Put back the list of print backends in config.hebassi/issue-3486
The GTK_PRINT_BACKENDS symbol was dumped too early into the
configuration data object, and was missing all enabled print backends.
Fixes: #3486
| -rw-r--r-- | modules/printbackends/meson.build | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/printbackends/meson.build b/modules/printbackends/meson.build index 0d5bcf2c76..c4dd8f86bb 100644 --- a/modules/printbackends/meson.build +++ b/modules/printbackends/meson.build @@ -16,8 +16,6 @@ endif printbackends_subdir = 'gtk-4.0/@0@/printbackends'.format(gtk_binary_version) printbackends_install_dir = join_paths(get_option('libdir'), printbackends_subdir) -cdata.set_quoted('GTK_PRINT_BACKENDS', ','.join(print_backends)) - printbackends_args = [ '-DGTK_COMPILATION', '-DGTK_DISABLE_DEPRECATION_WARNINGS', @@ -77,3 +75,6 @@ shared_module('printbackend-file', install_dir: printbackends_install_dir, install: true, ) + +# Store the print backends in the config.h +cdata.set_quoted('GTK_PRINT_BACKENDS', ','.join(print_backends)) |
