[longomatch/newui: 31/50] Fix canvas object creation with the new namespace
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/newui: 31/50] Fix canvas object creation with the new namespace
- Date: Thu, 21 Aug 2014 11:27:36 +0000 (UTC)
commit fb924b779b93069c1d755766530a33430db210ac
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Thu Aug 21 00:58:25 2014 +0200
Fix canvas object creation with the new namespace
LongoMatch.Drawing/Utils.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Drawing/Utils.cs b/LongoMatch.Drawing/Utils.cs
index c0cdf96..8f0fcb9 100644
--- a/LongoMatch.Drawing/Utils.cs
+++ b/LongoMatch.Drawing/Utils.cs
@@ -58,7 +58,7 @@ namespace LongoMatch.Drawing
public static ICanvasSelectableObject CanvasFromDrawableObject (IBlackboardObject drawable)
{
- string objecttype = String.Format ("LongoMatch.Drawing.CanvasObject.{0}Object",
+ string objecttype = String.Format ("LongoMatch.Drawing.CanvasObjects.{0}Object",
drawable.GetType ().ToString ().Split ('.').Last
());
ObjectHandle handle = Activator.CreateInstance (null, objecttype);
ICanvasDrawableObject d = (ICanvasDrawableObject)handle.Unwrap ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]