X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-sharp%2Fsharp%2Finternal%2FCustomActor.cs;h=3e737d681bbc0c5afbb4348b117e0d3f164ff567;hp=53eacc25e10b6497e7475ee96dd4d200e720be3c;hb=b904b864bc3875b6cb0bdfa2ad430d094c140205;hpb=82e6a46b87c64df1be36cf414f6e94f9d17d52ff diff --git a/plugins/dali-sharp/sharp/internal/CustomActor.cs b/plugins/dali-sharp/sharp/internal/CustomActor.cs index 53eacc2..3e737d6 100644 --- a/plugins/dali-sharp/sharp/internal/CustomActor.cs +++ b/plugins/dali-sharp/sharp/internal/CustomActor.cs @@ -10,7 +10,7 @@ namespace Dali { -public class CustomActor : Actor { +internal class CustomActor : Animatable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; internal CustomActor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.CustomActor_SWIGUpcast(cPtr), cMemoryOwn) { @@ -25,8 +25,8 @@ public class CustomActor : Actor { DisposeQueue.Instance.Add(this); } - public override void Dispose() { - if (!Stage.IsInstalled()) { + public virtual void Dispose() { + if (!Window.IsInstalled()) { DisposeQueue.Instance.Add(this); return; } @@ -40,7 +40,6 @@ public class CustomActor : Actor { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } global::System.GC.SuppressFinalize(this); - base.Dispose(); } }