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>
|
2008-08-27 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* generator/ManagedCallString.cs: use existing Parameters.IsHidden
|
* generator/ManagedCallString.cs: use existing Parameters.IsHidden
|
||||||
|
|
|
@ -185,11 +185,15 @@
|
||||||
public static GetRootDelegate GetRootHandler {
|
public static GetRootDelegate GetRootHandler {
|
||||||
set {
|
set {
|
||||||
get_root_handler = value;
|
get_root_handler = value;
|
||||||
|
if (value == null)
|
||||||
|
atksharp_util_override_get_root (null);
|
||||||
|
else {
|
||||||
if (get_root_callback == null)
|
if (get_root_callback == null)
|
||||||
get_root_callback = new GetRootNativeDelegate (GetRootCallback);
|
get_root_callback = new GetRootNativeDelegate (GetRootCallback);
|
||||||
atksharp_util_override_get_root (get_root_callback);
|
atksharp_util_override_get_root (get_root_callback);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[GLib.CDeclCallback]
|
[GLib.CDeclCallback]
|
||||||
delegate IntPtr GetToolkitNameNativeDelegate ();
|
delegate IntPtr GetToolkitNameNativeDelegate ();
|
||||||
|
|
Loading…
Reference in a new issue