aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/PrivateContainer.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-08-08 19:22:52 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-08-08 19:22:52 +0200
commitcc4c62ab5d809ff451ca475a7949adc4fdfd806b (patch)
tree3b39b3eeffbadbc930941e37c1ef3b5026339da3 /src/GraphicObjects/PrivateContainer.cs
parent4d4a9116ea5c68b27f0b7c43db9682ab57738ae7 (diff)
IMLInstantiator implementation
Diffstat (limited to 'src/GraphicObjects/PrivateContainer.cs')
-rw-r--r--src/GraphicObjects/PrivateContainer.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/GraphicObjects/PrivateContainer.cs b/src/GraphicObjects/PrivateContainer.cs
index 8793ba45..51d76604 100644
--- a/src/GraphicObjects/PrivateContainer.cs
+++ b/src/GraphicObjects/PrivateContainer.cs
@@ -22,6 +22,7 @@ using System;
using System.Xml.Serialization;
using System.ComponentModel;
using Cairo;
+using System.Diagnostics;
namespace Crow
{
@@ -47,7 +48,7 @@ namespace Crow
protected GraphicObject child;
- protected virtual T SetChild<T>(T _child)
+ internal virtual void SetChild(GraphicObject _child)
{
if (child != null) {
@@ -67,8 +68,8 @@ namespace Crow
child.RegisteredLayoutings = LayoutingType.None;
child.RegisterForLayouting (LayoutingType.Sizing);
}
+ Debug.WriteLine ("privateContainer setChild");
- return (T)_child;
}
#region GraphicObject Overrides