summaryrefslogtreecommitdiff
path: root/src/core/DataObject.vala
diff options
context:
space:
mode:
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;
}