Suboptimal GLib.Object.connect() bindings
@sdroege
Submitted by Sebastian Dröge Link to original bug (#646314)
Description
The GLib.Object.connect() bindings seem to be a bit suboptimal and don't really make much sense in vala I guess... You must provide user_data passed to the signal handler and then depending on the prefix of the signal spec (signal:: vs. object-signal::) the user_data must be a GObject
I guess it would make more sense if GLib.Object.connect() would map to g_signal_connect() in one way or another so you could do o.connect("signal", callback), which behaves the same way as o.signal.connect(callback) without type checking