[gnome-games/wip/exalm/search-provider: 2/7] main: Stop grilo from overriding options
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/search-provider: 2/7] main: Stop grilo from overriding options
- Date: Wed, 12 Feb 2020 09:32:29 +0000 (UTC)
commit 8a818b132948007c89ed037319b0e31b82330905
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Feb 11 03:55:01 2020 +0500
main: Stop grilo from overriding options
Pass empty params into Grl.init(). This is a terrible workaround, but it
works.
src/main.vala | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/main.vala b/src/main.vala
index 493dad22..e641fbf8 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -5,7 +5,10 @@ int main (string[] args) {
Intl.bind_textdomain_codeset (Config.GETTEXT_PACKAGE, "UTF-8");
Intl.textdomain (Config.GETTEXT_PACKAGE);
- Grl.init (ref args);
+ string[] empty_args = {};
+ unowned var unowned_args = empty_args;
+
+ Grl.init (ref unowned_args);
Hdy.init (ref args);
var app = new Games.Application ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]