2007-09-11 Mike Kestner <mkestner@novell.com>
* gtk/Object.custom (Destroy): add a null check to avoid Gtk criticals. The destroy case seems to be problematic with a bunch of existing code, so this turns it into a noop. svn path=/trunk/gtk-sharp/; revision=85657
This commit is contained in:
parent
c2230278b3
commit
bf1bec4f41
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-09-11 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* gtk/Object.custom (Destroy): add a null check to avoid
|
||||
Gtk criticals. The destroy case seems to be problematic with
|
||||
a bunch of existing code, so this turns it into a noop.
|
||||
|
||||
2007-09-06 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* AssemblyInfo.cs.in : add IgnoreClassInitializers attr to all.
|
||||
|
|
|
@ -123,7 +123,8 @@
|
|||
|
||||
public virtual void Destroy ()
|
||||
{
|
||||
gtk_object_destroy (Handle);
|
||||
if (Handle != IntPtr.Zero)
|
||||
gtk_object_destroy (Handle);
|
||||
}
|
||||
|
||||
[DllImport("gtksharpglue-2")]
|
||||
|
|
Loading…
Add table
Reference in a new issue