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:
parent
900b14290c
commit
fdbb151684
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue