[gtk/fix-printbackends] Fix the value for the print-backends setting




commit 20289ad8e1a3900fedf0c95465bc3cf0f1ee0124
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Dec 21 14:10:03 2020 -0500

    Fix the value for the print-backends setting
    
    This was broken in the meson conversion, causing
    us to default to "" instead of the built print
    backends.
    
    Fixes: #3486

 modules/printbackends/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/modules/printbackends/meson.build b/modules/printbackends/meson.build
index 0d5bcf2c76..c5d7b4cdaa 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,5 @@ shared_module('printbackend-file',
   install_dir: printbackends_install_dir,
   install: true,
 )
+
+cdata.set_quoted('GTK_PRINT_BACKENDS', ','.join(print_backends))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]