[gnome-boxes] Revert "os-database: Load osinfo db from hardcoded path for Flatpak"
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Revert "os-database: Load osinfo db from hardcoded path for Flatpak"
- Date: Wed, 4 Dec 2019 09:19:48 +0000 (UTC)
commit 96e6ca6712689ceb9822e1909c88fe5f68aac96c
Author: Fabiano FidĂȘncio <fidencio redhat com>
Date: Tue Dec 3 22:54:37 2019 +0100
Revert "os-database: Load osinfo db from hardcoded path for Flatpak"
This reverts commit 929848c3be9cd11f1f25f44f982e8e611238fdb5.
src/os-database.vala | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/os-database.vala b/src/os-database.vala
index a9eb248f..c6f202ec 100644
--- a/src/os-database.vala
+++ b/src/os-database.vala
@@ -56,11 +56,7 @@ public async void load () {
db_loading = true;
var loader = new Loader ();
try {
-#if FLATPAK
- yield App.app.async_launcher.launch (() => { loader.process_path ("/app/share/osinfo"); });
-#else
yield App.app.async_launcher.launch (() => { loader.process_default_path (); });
-#endif
} catch (GLib.Error e) {
warning ("Error loading default libosinfo database: %s", e.message);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]