[gnome-builder/gnome-builder-43] meson-templates: Correctly include help-overlay.ui for GTK4 templates



commit e59918026166241f6ecd02901e64ffcbf3964569
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sat Oct 1 20:28:18 2022 +0400

    meson-templates: Correctly include help-overlay.ui for GTK4 templates

 src/plugins/meson-templates/resources/src/hello.gresource.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/meson-templates/resources/src/hello.gresource.xml 
b/src/plugins/meson-templates/resources/src/hello.gresource.xml
index 41902a2d5..bb96c864a 100644
--- a/src/plugins/meson-templates/resources/src/hello.gresource.xml
+++ b/src/plugins/meson-templates/resources/src/hello.gresource.xml
@@ -2,7 +2,7 @@
 <gresources>
   <gresource prefix="{{appid_path}}">
     <file preprocess="xml-stripblanks">{{ui_file}}</file>
-{{if (template == "gnome-app-gtk4") || (template == "gnome-app-adwaita")}}
+{{if is_gtk4}}
     <file preprocess="xml-stripblanks">gtk/help-overlay.ui</file>
 {{end}}
   </gresource>


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