From de88de73ad9d13cc2a54668aa4bc6523c196ffa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Thu, 3 Oct 2019 15:22:07 +0200 Subject: New upstream version 0.30.7 --- src/Commands.vala | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/Commands.vala') diff --git a/src/Commands.vala b/src/Commands.vala index 6924f82..2b9eac1 100644 --- a/src/Commands.vala +++ b/src/Commands.vala @@ -12,7 +12,7 @@ public abstract class PageCommand : Command { private Photo library_photo = null; private CollectionPage collection_page = null; - public PageCommand(string name, string explanation) { + protected PageCommand(string name, string explanation) { base (name, explanation); page = AppWindow.get_instance().get_current_page(); @@ -103,7 +103,7 @@ public abstract class PageCommand : Command { public abstract class SingleDataSourceCommand : PageCommand { protected DataSource source; - public SingleDataSourceCommand(DataSource source, string name, string explanation) { + protected SingleDataSourceCommand(DataSource source, string name, string explanation) { base(name, explanation); this.source = source; @@ -130,7 +130,7 @@ public abstract class SimpleProxyableCommand : PageCommand { private SourceProxy proxy; private Gee.HashSet proxies = new Gee.HashSet(); - public SimpleProxyableCommand(Proxyable proxyable, string name, string explanation) { + protected SimpleProxyableCommand(Proxyable proxyable, string name, string explanation) { base (name, explanation); proxy = proxyable.get_proxy(); @@ -183,7 +183,7 @@ public abstract class SimpleProxyableCommand : PageCommand { public abstract class SinglePhotoTransformationCommand : SingleDataSourceCommand { private PhotoTransformationState state; - public SinglePhotoTransformationCommand(Photo photo, string name, string explanation) { + protected SinglePhotoTransformationCommand(Photo photo, string name, string explanation) { base(photo, name, explanation); state = photo.save_transformation_state(); @@ -207,7 +207,7 @@ public abstract class GenericPhotoTransformationCommand : SingleDataSourceComman private PhotoTransformationState original_state = null; private PhotoTransformationState transformed_state = null; - public GenericPhotoTransformationCommand(Photo photo, string name, string explanation) { + protected GenericPhotoTransformationCommand(Photo photo, string name, string explanation) { base(photo, name, explanation); } @@ -282,7 +282,7 @@ public abstract class MultipleDataSourceCommand : PageCommand { private Gee.ArrayList acted_upon = new Gee.ArrayList(); private Gee.HashSet hooked_collections = new Gee.HashSet(); - public MultipleDataSourceCommand(Gee.Iterable iter, string progress_text, + protected MultipleDataSourceCommand(Gee.Iterable iter, string progress_text, string undo_progress_text, string name, string explanation) { base(name, explanation); @@ -414,7 +414,7 @@ public abstract class MultipleDataSourceAtOnceCommand : PageCommand { private Gee.HashSet sources = new Gee.HashSet(); private Gee.HashSet hooked_collections = new Gee.HashSet(); - public MultipleDataSourceAtOnceCommand(Gee.Collection sources, string name, + protected MultipleDataSourceAtOnceCommand(Gee.Collection sources, string name, string explanation) { base (name, explanation); @@ -490,7 +490,7 @@ public abstract class MultiplePhotoTransformationCommand : MultipleDataSourceCom private Gee.HashMap map = new Gee.HashMap< Photo, PhotoTransformationState>(); - public MultiplePhotoTransformationCommand(Gee.Iterable iter, string progress_text, + protected MultiplePhotoTransformationCommand(Gee.Iterable iter, string progress_text, string undo_progress_text, string name, string explanation) { base(iter, progress_text, undo_progress_text, name, explanation); @@ -963,7 +963,7 @@ public abstract class MovePhotosCommand : Command { protected RealMovePhotosCommand real_command; - public MovePhotosCommand(string name, string explanation) { + protected MovePhotosCommand(string name, string explanation) { base(name, explanation); } -- cgit v1.2.3