[gtk/ebassi/issue-3486] build: Put back the list of print backends in config.h
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/issue-3486] build: Put back the list of print backends in config.h
- Date: Mon, 21 Dec 2020 19:10:56 +0000 (UTC)
commit f3ccb3a5f42b38a4d3e5628234eda077464aecff
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Dec 21 19:09:24 2020 +0000
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
modules/printbackends/meson.build | 5 +++--
1 file 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))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]