[Monodevelop-patches-list] r1673 - trunk/MonoDevelop/build/data/templates/file/CSharp
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Mon May 31 14:11:28 EDT 2004
Author: tberman
Date: 2004-05-31 14:11:28 -0400 (Mon, 31 May 2004)
New Revision: 1673
Modified:
trunk/MonoDevelop/build/data/templates/file/CSharp/GnomeSharpProgram.xft
Log:
unrequire the use of the GType. thx to lupus for noticing
Modified: trunk/MonoDevelop/build/data/templates/file/CSharp/GnomeSharpProgram.xft
===================================================================
--- trunk/MonoDevelop/build/data/templates/file/CSharp/GnomeSharpProgram.xft 2004-05-31 14:29:12 UTC (rev 1672)
+++ trunk/MonoDevelop/build/data/templates/file/CSharp/GnomeSharpProgram.xft 2004-05-31 18:11:28 UTC (rev 1673)
@@ -21,22 +21,9 @@
{
public class CreatedProgram : Program
{
- static GLib.GType gtype;
-
- public static new GLib.GType GType
+ public CreatedProgram () : base ("ChangeMe", "0.1", Gnome.Modules.Info, new string[0])
{
- get
- {
- if (gtype == GLib.GType.Invalid)
- type = RegisterGType (typeof (CreatedProgram));
- return gtype;
- }
}
-
-
- public CreatedProgram () : base (GType)
- {
- }
}
}
]]></File>
More information about the Monodevelop-patches-list
mailing list