Compare commits

...

1 Commits

Author SHA1 Message Date
Emmanuele Bassi
f3ccb3a5f4 build: Put back the list of print backends in config.h
The GTK_PRINT_BACKENDS symbol was dumped too early into the
configuration data object, and was missing all enabled print backends.

Fixes: #3486
2020-12-21 19:09:24 +00:00

View File

@@ -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))