[libdmapsharing] Update Vala code to build with Vala 0.44.3
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] Update Vala code to build with Vala 0.44.3
- Date: Sun, 28 Apr 2019 05:01:19 +0000 (UTC)
commit 67281ed0c683d8321c99638b9aa1833dadb99d66
Author: W. Michael Petullo <mike flyn org>
Date: Sun Apr 28 00:59:40 2019 -0400
Update Vala code to build with Vala 0.44.3
Signed-off-by: W. Michael Petullo <mike flyn org>
tests/vala-dmap-container-db.vala | 3 +--
tests/vala-dmap-db.vala | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/tests/vala-dmap-container-db.vala b/tests/vala-dmap-container-db.vala
index ab304a2..d46ea2c 100644
--- a/tests/vala-dmap-container-db.vala
+++ b/tests/vala-dmap-container-db.vala
@@ -23,8 +23,7 @@
private class ValaDmapContainerDb : GLib.Object, Dmap.ContainerDb {
// A dumb database that stores everything in an array
- /* FIXME: What is with this unowned? */
- private Gee.ArrayList<unowned Dmap.Record> db = new Gee.ArrayList<Dmap.Record> ();
+ private Gee.ArrayList<Dmap.Record> db = new Gee.ArrayList<Dmap.Record> ();
public int64 count () {
return db.size;
diff --git a/tests/vala-dmap-db.vala b/tests/vala-dmap-db.vala
index 97736ee..743a582 100644
--- a/tests/vala-dmap-db.vala
+++ b/tests/vala-dmap-db.vala
@@ -24,7 +24,7 @@ private class ValaDmapDb : GLib.Object, Dmap.Db {
// A dumb database that stores everything in an array
/* FIXME: What is with this unowned? */
- private Gee.ArrayList<unowned Dmap.Record> db = new Gee.ArrayList<Dmap.Record> ();
+ private Gee.ArrayList<unowned Dmap.Record> db = new Gee.ArrayList<weak Dmap.Record> ();
public uint add (Dmap.Record record) {
db.add (((Dmap.Record) record));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]