Author: mkestner Date: 2008-01-17 09:37:02 -0500 (Thu, 17 Jan 2008) New Revision: 93151
Modified: trunk/gtk-sharp/ChangeLog trunk/gtk-sharp/generator/Property.cs Log: 2008-01-17 Mike Kestner <[EMAIL PROTECTED]> * generator/Property.cs: missing Parent null check needed for direct GLib.Object subclasses. Suggested by [EMAIL PROTECTED] [Fixes #321536] Modified: trunk/gtk-sharp/ChangeLog =================================================================== --- trunk/gtk-sharp/ChangeLog 2008-01-17 14:06:59 UTC (rev 93150) +++ trunk/gtk-sharp/ChangeLog 2008-01-17 14:37:02 UTC (rev 93151) @@ -1,5 +1,10 @@ 2008-01-17 Mike Kestner <[EMAIL PROTECTED]> + * generator/Property.cs: missing Parent null check needed for direct + GLib.Object subclasses. Suggested by [EMAIL PROTECTED] [Fixes #321536] + +2008-01-17 Mike Kestner <[EMAIL PROTECTED]> + * sample/Assistant.cs: new Gtk.Assistant sample. * sample/Makefile.am: hook in new sample. Modified: trunk/gtk-sharp/generator/Property.cs =================================================================== --- trunk/gtk-sharp/generator/Property.cs 2008-01-17 14:06:59 UTC (rev 93150) +++ trunk/gtk-sharp/generator/Property.cs 2008-01-17 14:37:02 UTC (rev 93151) @@ -105,7 +105,7 @@ if (IsNew || (container_type.Parent != null && container_type.Parent.GetPropertyRecursively (Name) != null)) modifiers = "new "; - else if (implementor != null && implementor.Parent.GetPropertyRecursively (Name) != null) + else if (implementor != null && implementor.Parent != null && implementor.Parent.GetPropertyRecursively (Name) != null) modifiers = "new "; string name = Name; _______________________________________________ Mono-patches maillist - Mono-patches@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-patches