Package: gnome-games-app / 3.38.0-1

Revert-plugin-registrar-lazy.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Jeremy Bicha <jbicha@debian.org>
Date: Sat, 5 Oct 2019 20:47:41 -0400
Subject: Revert "plugin-registrar: Replace BIND_LAZY with LAZY"

This reverts commit 6e89a4f1081172261ddb0be5ea0aef42d49641d5.

This commit requires vala 0.46 but Ubuntu won't have
that version of vala until Ubuntu 20.04 LTS.

This revert patch can be dropped after Ubuntu 19.10.
---
 src/core/plugin-registrar.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/plugin-registrar.vala b/src/core/plugin-registrar.vala
index c8ca7d0..b60c2a9 100644
--- a/src/core/plugin-registrar.vala
+++ b/src/core/plugin-registrar.vala
@@ -58,7 +58,7 @@ private class Games.PluginRegistrar : TypeModule {
 		if (loaded)
 			return true;
 
-		module = Module.open (module_path, ModuleFlags.LAZY);
+		module = Module.open (module_path, ModuleFlags.BIND_LAZY);
 		if (module == null)
 			return false;