mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
2004-05-11 Mike Kestner <mkestner@ximian.com>
* gconf/GConf/NotifyWrapper.cs : add some defensive null checking. [fixes #57902] svn path=/trunk/gtk-sharp/; revision=27115
This commit is contained in:
parent
4214989dff
commit
b071a8c507
@ -1,4 +1,9 @@
|
||||
2004-05-10 Mike Kestner <mkestner@ximian.com>
|
||||
2004-05-11 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* gconf/GConf/NotifyWrapper.cs : add some defensive null checking.
|
||||
[fixes #57902]
|
||||
|
||||
2004-05-11 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* gtk/SelectionData.custom : add a Set overload without length param.
|
||||
|
||||
|
@ -15,6 +15,10 @@ namespace GConf
|
||||
{
|
||||
Client client = new Client (client_ptr);
|
||||
_Entry entry = new _Entry (entry_ptr);
|
||||
if (entry.ValuePtr == IntPtr.Zero) {
|
||||
notify (client, new NotifyEventArgs (entry.Key, null));
|
||||
return;
|
||||
}
|
||||
Value val = new Value (entry.ValuePtr);
|
||||
val.Managed = false;
|
||||
notify (client, new NotifyEventArgs (entry.Key, val.Get ()));
|
||||
|
Loading…
Reference in New Issue
Block a user