From 027b9c0179ad06122f8fca3cbe813c8d65924d1b Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 13 Jan 2005 14:54:22 +0000 Subject: [PATCH] * 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 --- ChangeLog | 6 ++++++ generator/ObjectGen.cs | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e3c437462..bc20184ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-01-13 Dan Winship + + * generator/ObjectGen.cs: Make ContainerChild constructors + "protected internal" rather than just "internal", so the classes + can be subclassed nicely. + 2005-01-13 Zac Bowling * gtkdotnet/makefile.win32 : fixed references to build on Win32 diff --git a/generator/ObjectGen.cs b/generator/ObjectGen.cs index a4a31c091..da66d63e7 100644 --- a/generator/ObjectGen.cs +++ b/generator/ObjectGen.cs @@ -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) {