GNOME Bugzilla – Bug 577048
GLib.Timeout.add_seconds_full and GLib.Source.set_callback require DestroyNotify to be passed manually
Last modified: 2009-03-29 19:16:53 UTC
They use SourceFunc func, DestroyNotify? notify instead of SourceFunc# func.
Created attachment 131540 [details] [review] Make GLib.Timeout.add_seconds_full and GLib.Source.set_callback generate the appropriate GDestroyNotify arguments automatically. Fixes bug 577048.
commit e2e7652dfd9bb82f0f51e4c7036bec3d0838fc40 Author: Evan Nemerson <evan@polussystems.com> Date: Sat Mar 28 00:54:10 2009 -0700 glib-2.0: Fix g_timeout_add_seconds_full and g_source_set_callback Make GLib.Timeout.add_seconds_full and GLib.Source.set_callback generate the appropriate GDestroyNotify arguments automatically. Fixes bug 577048.