2002-05-06 Mike Kestner <mkestner@speakeasy.net>

* generator/ObjectGen.cs : When generating a ctor(void)
	  for subclassing purposes, mark it protected, not public.
	  Thanks to Miguel for reporting this bug.

svn path=/trunk/gtk-sharp/; revision=4335
This commit is contained in:
Mike Kestner 2002-05-06 13:51:45 +00:00
parent 9df5506aba
commit 6fbe8bcaf8
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-05-06 Mike Kestner <mkestner@speakeasy.net>
* generator/ObjectGen.cs : When generating a ctor(void)
for subclassing purposes, mark it protected, not public.
Thanks to Miguel for reporting this bug.
2002-05-03 Mike Kestner <mkestner@speakeasy.net>
* sample/makefile.win32 : add the Menu sample

View File

@ -127,7 +127,7 @@ namespace GtkSharp.Generation {
}
if (!clash_map.ContainsKey("")) {
sw.WriteLine("\t\tpublic " + Name + "() : base(){}");
sw.WriteLine("\t\tprotected " + Name + "() : base(){}");
sw.WriteLine();
}