Commit d3be570a authored by Philip Withnall's avatar Philip Withnall Committed by Jürg Billeter

gobject-2.0: Mark parameter of WeakRef() and WeakRef.set() as nullable

Fixes bug 683227.
parent 0b3c4971
......@@ -381,9 +381,9 @@ namespace GLib {
[CCode (destroy_function = "g_weak_ref_clear")]
public struct WeakRef {
public WeakRef (GLib.Object object);
public WeakRef (GLib.Object? object);
public GLib.Object? get ();
public void set (GLib.Object object);
public void set (GLib.Object? object);
}
[CCode (instance_pos = 0)]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment