* generator/ObjectGen.cs: Make ContainerChild constructors

"protected internal" rather than just "internal", so the classes
	can be subclassed nicely.

svn path=/trunk/gtk-sharp/; revision=38874
This commit is contained in:
Dan Winship 2005-01-13 14:54:22 +00:00
parent d1a6c8bd62
commit 027b9c0179
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-01-13 Dan Winship <danw@novell.com>
* generator/ObjectGen.cs: Make ContainerChild constructors
"protected internal" rather than just "internal", so the classes
can be subclassed nicely.
2005-01-13 Zac Bowling <zac@zacbowling.com>
* gtkdotnet/makefile.win32 : fixed references to build on Win32

View File

@ -258,7 +258,7 @@ namespace GtkSharp.Generation {
StreamWriter sw = gen_info.Writer;
sw.WriteLine ("\t\tpublic class " + Name + "Child : Gtk.Container.ContainerChild {");
sw.WriteLine ("\t\t\tinternal " + Name + "Child (Gtk.Container parent, Gtk.Widget child) : base (parent, child) {}");
sw.WriteLine ("\t\t\tprotected internal " + Name + "Child (Gtk.Container parent, Gtk.Widget child) : base (parent, child) {}");
sw.WriteLine ("");
foreach (ChildProperty prop in childprops.Values) {