Gee should use GClosure
Submitted by cli..@..ba.org
Link to original bug (#699973)
Description
Currently, delegates in Gee such as EqualDataFunc are declared like so:
public delegate bool EqualDataFunc<T>
(T a, T b)
As a result, it's not possible to save a reference to them for later calling inside an object without the compiler warning the programmer that 'copying delegates is discouraged', meaning that, in order to use any custom equality tests, comparisons and the like, a project would have to be compiled with deprecation warnings turned off.
This is known to affect at least one application (Shotwell).
Version: git master