diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2019-10-03 15:22:40 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2019-10-03 15:22:40 +0200 |
commit | 2349c0731ab924986f787c306cb7ce5104db7e28 (patch) | |
tree | cf732995c187d192ce8eab868c5f60cd0982184e /src/editing_tools/EditingTools.vala | |
parent | 4b884ce062be787b9e64836146133a1066b679e3 (diff) | |
parent | 5204e98502aa1d0dc4a05c5d3f15b7c39c8d832c (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/editing_tools/EditingTools.vala')
-rw-r--r-- | src/editing_tools/EditingTools.vala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/editing_tools/EditingTools.vala b/src/editing_tools/EditingTools.vala index f92b4a2..02e366a 100644 --- a/src/editing_tools/EditingTools.vala +++ b/src/editing_tools/EditingTools.vala @@ -31,7 +31,7 @@ public abstract class EditingToolWindow : Gtk.Window { private Gtk.Frame layout_frame = new Gtk.Frame(null); private bool user_moved = false; - public EditingToolWindow(Gtk.Window container) { + protected EditingToolWindow(Gtk.Window container) { set_decorated(false); set_transient_for(container); @@ -110,7 +110,7 @@ public abstract class PhotoCanvas { private Gdk.Pixbuf scaled_pixbuf; private Gdk.Rectangle scaled_position; - public PhotoCanvas(Gtk.Window container, Gdk.Window drawing_window, Photo photo, + protected PhotoCanvas(Gtk.Window container, Gdk.Window drawing_window, Photo photo, Cairo.Context default_ctx, Dimensions surface_dim, Gdk.Pixbuf scaled, Gdk.Rectangle scaled_position) { this.container = container; this.drawing_window = drawing_window; @@ -465,7 +465,7 @@ public abstract class EditingTool { public signal void aborted(); - public EditingTool(string name) { + protected EditingTool(string name) { this.name = name; } @@ -2317,7 +2317,7 @@ public class AdjustTool : EditingTool { private abstract class AdjustToolCommand : Command { protected weak AdjustTool owner; - public AdjustToolCommand(AdjustTool owner, string name, string explanation) { + protected AdjustToolCommand(AdjustTool owner, string name, string explanation) { base (name, explanation); this.owner = owner; |