2008-08-28 Andrés G. Aragoneses <aaragoneses@novell.com>
* atk/Util.custom: unregister get_root function when the setter receives null. Partial fix for BNC#411444. svn path=/trunk/gtk-sharp/; revision=111872
This commit is contained in:
parent
a3e074c46a
commit
1a681abfac
2 changed files with 12 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-08-28 Andrés G. Aragoneses <aaragoneses@novell.com>
|
||||
|
||||
* atk/Util.custom: unregister get_root function when the setter
|
||||
receives null. Partial fix for BNC#411444.
|
||||
|
||||
2008-08-27 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* generator/ManagedCallString.cs: use existing Parameters.IsHidden
|
||||
|
|
|
@ -185,9 +185,13 @@
|
|||
public static GetRootDelegate GetRootHandler {
|
||||
set {
|
||||
get_root_handler = value;
|
||||
if (get_root_callback == null)
|
||||
get_root_callback = new GetRootNativeDelegate (GetRootCallback);
|
||||
atksharp_util_override_get_root (get_root_callback);
|
||||
if (value == null)
|
||||
atksharp_util_override_get_root (null);
|
||||
else {
|
||||
if (get_root_callback == null)
|
||||
get_root_callback = new GetRootNativeDelegate (GetRootCallback);
|
||||
atksharp_util_override_get_root (get_root_callback);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue