mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-06-19 22:57:56 +00:00
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
|
@ -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>
|
2007-09-06 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* AssemblyInfo.cs.in : add IgnoreClassInitializers attr to all.
|
* AssemblyInfo.cs.in : add IgnoreClassInitializers attr to all.
|
||||||
|
|
|
@ -123,7 +123,8 @@
|
||||||
|
|
||||||
public virtual void Destroy ()
|
public virtual void Destroy ()
|
||||||
{
|
{
|
||||||
gtk_object_destroy (Handle);
|
if (Handle != IntPtr.Zero)
|
||||||
|
gtk_object_destroy (Handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
[DllImport("gtksharpglue-2")]
|
[DllImport("gtksharpglue-2")]
|
||||||
|
|
Loading…
Reference in a new issue