[rhythmbox/wip/hadess/fix-uri-dialog-test] widgets: Fix URI dialog test
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/wip/hadess/fix-uri-dialog-test] widgets: Fix URI dialog test
- Date: Mon, 15 Nov 2021 14:27:56 +0000 (UTC)
commit 2efbbe96ec2fd8e53f3e962eee63b67d8608e4cc
Author: Bastien Nocera <hadess hadess net>
Date: Mon Nov 15 15:27:14 2021 +0100
widgets: Fix URI dialog test
The uri-new.ui file was not available as a resource.
Closes: #1923
widgets/meson.build | 4 +++-
widgets/test-uri-dialog.gresource.xml | 7 +++++++
2 files changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/widgets/meson.build b/widgets/meson.build
index 2abc4f697..ef5523ffe 100644
--- a/widgets/meson.build
+++ b/widgets/meson.build
@@ -71,5 +71,7 @@ rbwidgets_dep = declare_dependency(
test_rb_segmented_bar = executable('test-rb-segmented-bar', 'test-rb-segmented-bar.c',
dependencies: [rbwidgets_dep, librb_dep])
-test_uri_dialog = executable('test-uri-dialog', 'test-uri-dialog.c',
+test_uri_dialog_resources = gnome.compile_resources('test-uri-dialog-resources',
'test-uri-dialog.gresource.xml',
+ source_dir: ['../data'])
+test_uri_dialog = executable('test-uri-dialog', ['test-uri-dialog.c', test_uri_dialog_resources],
dependencies: [rbwidgets_dep, librb_dep])
diff --git a/widgets/test-uri-dialog.gresource.xml b/widgets/test-uri-dialog.gresource.xml
new file mode 100644
index 000000000..3b36ff346
--- /dev/null
+++ b/widgets/test-uri-dialog.gresource.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<gresources>
+ <gresource prefix="/org/gnome/Rhythmbox">
+ <file preprocess="xml-stripblanks">ui/uri-new.ui</file>
+ </gresource>
+</gresources>
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]