summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-12-21 19:09:24 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2020-12-21 19:09:24 +0000
commitf3ccb3a5f42b38a4d3e5628234eda077464aecff (patch)
tree34ea22ab9899f315f958c094b61d2ddfa4e13143
parent933d241bbae6785c597798a2b804e57bf20301da (diff)
downloadgtk+-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.build5
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))