From b93d7f8b571a0d4611f4c867301098bf8a0d81bc Mon Sep 17 00:00:00 2001 From: Kangho Hur Date: Fri, 9 Sep 2016 14:22:48 +0900 Subject: [PATCH] Change the visibility of EvasObject's constructor to protected Change-Id: I600fa00761c689680a58f5ca216052683dd678a5 --- src/ElmSharp/ElmSharp/EvasObject.cs | 2 +- src/ElmSharp/ElmSharp/Widget.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ElmSharp/ElmSharp/EvasObject.cs b/src/ElmSharp/ElmSharp/EvasObject.cs index b7d0393..041cd71 100644 --- a/src/ElmSharp/ElmSharp/EvasObject.cs +++ b/src/ElmSharp/ElmSharp/EvasObject.cs @@ -14,7 +14,7 @@ namespace ElmSharp Interop.EvasObjectEvent _moved; Interop.EvasObjectEvent _resized; - internal EvasObject(EvasObject parent) : this() + protected EvasObject(EvasObject parent) : this() { Debug.Assert(parent == null || parent.IsRealized); Realize(parent); diff --git a/src/ElmSharp/ElmSharp/Widget.cs b/src/ElmSharp/ElmSharp/Widget.cs index bd42d51..665ecfa 100644 --- a/src/ElmSharp/ElmSharp/Widget.cs +++ b/src/ElmSharp/ElmSharp/Widget.cs @@ -14,7 +14,7 @@ namespace ElmSharp { } - internal Widget(EvasObject parent) : base(parent) + protected Widget(EvasObject parent) : base(parent) { _focused = new Interop.SmartEvent(this, Handle, "focused"); _focused.On += (s, e) => Focused?.Invoke(this, EventArgs.Empty); -- 2.7.4