GNOME Bugzilla – Bug 540662
MemoryInputStream.from_data() and add_data() should allow null DestroyNotify
Last modified: 2008-06-29 03:30:33 UTC
The DestroyNotify arguments to MemoryInputStream.from_data() and add_data() should allow nulls: /* * valac --pkg gio-2.0 test.vala */ using GLib; public class Test : GLib.Object { public static void main(string[] args) { // Should allow null DestroyNotify MemoryInputStream input = new MemoryInputStream.from_data ("test", 4, null); } }
2008-06-29 Jared Moore <jaredm@svn.gnome.org> * vapi/packages/gio-2.0/gio-2.0.metadata: Let 'destroy' arguments of g_memory_input_stream_add_data and g_memory_input_stream_new_from_data be nullable, fixes bug 540662. * vapi/gio-2.0.vapi: Regenerated Fixed in r1660.