2008-01-17 Mike Kestner <mkestner@novell.com>
* generator/Property.cs: missing Parent null check needed for direct GLib.Object subclasses. Suggested by mario@gnome.cl. [Fixes #321536] svn path=/trunk/gtk-sharp/; revision=93151
This commit is contained in:
parent
a185c2d31d
commit
f53935b65d
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-01-17 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* generator/Property.cs: missing Parent null check needed for direct
|
||||
GLib.Object subclasses. Suggested by mario@gnome.cl. [Fixes #321536]
|
||||
|
||||
2008-01-17 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* sample/Assistant.cs: new Gtk.Assistant sample.
|
||||
|
|
|
@ -105,7 +105,7 @@ namespace GtkSharp.Generation {
|
|||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue