diff options
Diffstat (limited to 'community/libgnome-games-support/vala-0.56.patch')
-rw-r--r-- | community/libgnome-games-support/vala-0.56.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community/libgnome-games-support/vala-0.56.patch b/community/libgnome-games-support/vala-0.56.patch new file mode 100644 index 00000000000..d8fe4776d20 --- /dev/null +++ b/community/libgnome-games-support/vala-0.56.patch @@ -0,0 +1,35 @@ +Patch-Source: https://gitlab.gnome.org/GNOME/libgnome-games-support/-/commit/ba8362cfa2f945d97c4ad3cdd78608fa02b99db9 +From ba8362cfa2f945d97c4ad3cdd78608fa02b99db9 Mon Sep 17 00:00:00 2001 +From: Rico Tzschichholz <ricotz@ubuntu.com> +Date: Tue, 14 Sep 2021 09:24:35 +0200 +Subject: [PATCH] tests: Casting to "void" is not allowed + +--- + tests/test-scores.vala | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tests/test-scores.vala b/tests/test-scores.vala +index e8e313c..020d373 100644 +--- a/tests/test-scores.vala ++++ b/tests/test-scores.vala +@@ -33,7 +33,7 @@ private void add_score_sync (Context context, int score, Category category) { + context.add_score.begin (score, category, null, (object, result) => { + try + { +- (void) context.add_score.end (result); ++ context.add_score.end (result); + } + catch (Error e) + { +@@ -254,7 +254,7 @@ private void test_import_from_history_file () + + private void test_import_from_nonexistent_history_file () + { +- (void) new Context.with_importer ( ++ var context = new Context.with_importer ( + "libgnome-games-support-test", + "", + null, +-- +GitLab + |