summaryrefslogtreecommitdiff
path: root/src/MediaDataRepresentation.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/MediaDataRepresentation.vala')
-rw-r--r--src/MediaDataRepresentation.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MediaDataRepresentation.vala b/src/MediaDataRepresentation.vala
index f4b9f7d..6e6af00 100644
--- a/src/MediaDataRepresentation.vala
+++ b/src/MediaDataRepresentation.vala
@@ -36,7 +36,7 @@ public abstract class MediaSource : ThumbnailSource, Indexable {
private Event? event = null;
private string? indexable_keywords = null;
- public MediaSource(int64 object_id = INVALID_OBJECT_ID) {
+ protected MediaSource(int64 object_id = INVALID_OBJECT_ID) {
base (object_id);
}
@@ -381,7 +381,7 @@ public abstract class MediaSourceCollection : DatabaseSourceCollection {
public virtual signal void flagged_contents_altered() {
}
- public MediaSourceCollection(string name, GetSourceDatabaseKey source_key_func) {
+ protected MediaSourceCollection(string name, GetSourceDatabaseKey source_key_func) {
base(name, source_key_func);
trashcan = create_trashcan();