summaryrefslogtreecommitdiff
path: root/src/core/DataObject.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-10-03 15:22:40 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-10-03 15:22:40 +0200
commit2349c0731ab924986f787c306cb7ce5104db7e28 (patch)
treecf732995c187d192ce8eab868c5f60cd0982184e /src/core/DataObject.vala
parent4b884ce062be787b9e64836146133a1066b679e3 (diff)
parent5204e98502aa1d0dc4a05c5d3f15b7c39c8d832c (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/core/DataObject.vala')
-rw-r--r--src/core/DataObject.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/DataObject.vala b/src/core/DataObject.vala
index 3c98e9e..62241b5 100644
--- a/src/core/DataObject.vala
+++ b/src/core/DataObject.vala
@@ -35,7 +35,7 @@ public abstract class DataObject : Object {
// NOTE: Supplying an object ID should *only* be used when reconstituting the object (generally
// only done by DataSources).
- public DataObject(int64 object_id = INVALID_OBJECT_ID) {
+ protected DataObject(int64 object_id = INVALID_OBJECT_ID) {
this.object_id = (object_id == INVALID_OBJECT_ID) ? object_id_generator++ : object_id;
}