2005-05-04 Todd Berman <tberman@off.net>

* glade/XML.custom: Store the callback wrapper so it doesn't get GC'd.


svn path=/trunk/gtk-sharp/; revision=44040
This commit is contained in:
Todd Berman 2005-05-04 19:12:21 +00:00
parent 900b14290c
commit fdbb151684
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-05-04 Todd Berman <tberman@off.net>
* glade/XML.custom: Store the callback wrapper so it doesn't get GC'd.
2005-05-04 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl: make note of _get_type methods for enums

View File

@ -32,8 +32,8 @@
public static Glade.XMLCustomWidgetHandler CustomHandler {
set {
GladeSharp.XMLCustomWidgetHandlerWrapper value_wrapper = new GladeSharp.XMLCustomWidgetHandlerWrapper (value);
glade_set_custom_handler(value_wrapper.NativeDelegate, IntPtr.Zero);
callback_wrapper = new GladeSharp.XMLCustomWidgetHandlerWrapper (value);
glade_set_custom_handler(callback_wrapper.NativeDelegate, IntPtr.Zero);
}
}